Searched refs:TriggerDecision (Results 1 – 8 of 8) sorted by relevance
62 translate::TriggerDecision trigger_decision = in TEST_F()63 translate::TriggerDecision::kDisabledNeverTranslateLanguage; in TEST_F()115 std::vector<translate::TriggerDecision> trigger_decisions = { in TEST_F()116 translate::TriggerDecision::kAutomaticTranslationByLink, in TEST_F()117 translate::TriggerDecision::kDisabledByRanker, in TEST_F()118 translate::TriggerDecision::kDisabledUnsupportedLanguage}; in TEST_F()131 translate::TriggerDecision trigger_decision = in TEST_F()132 translate::TriggerDecision::kShowUI; in TEST_F()
34 void LogTriggerDecision(TriggerDecision trigger_decision) override {} in LogTriggerDecision()64 void LogTriggerDecision(TriggerDecision trigger_decision) override;102 TriggerDecision trigger_decision_ = TriggerDecision::kUninitialized;
796 TriggerDecision::kDisabledByRanker); in ComputePossibleOutcomes()839 TriggerDecision::kDisabledOffline); in FilterIsTranslatePossible()863 TriggerDecision::kDisabledMissingAPIKey); in FilterIsTranslatePossible()873 TriggerDecision::kDisabledMIMETypeNotSupported); in FilterIsTranslatePossible()884 TriggerDecision::kDisabledURLNotSupported); in FilterIsTranslatePossible()907 TriggerDecision::kDisabledSimilarLanguages); in FilterIsTranslatePossible()924 TriggerDecision::kDisabledUnsupportedLanguage); in FilterIsTranslatePossible()948 TriggerDecision::kAutomaticTranslationByPref); in FilterAutoTranslate()957 TriggerDecision::kAutomaticTranslationByLink); in FilterAutoTranslate()1033 TriggerDecision::kDisabledNeverTranslateSite); in FilterForUserPrefs()[all …]
37 enum class TriggerDecision { enum81 virtual void LogTriggerDecision(TriggerDecision trigger_decision) = 0;
198 TriggerDecision highest_priority_trigger_decision) { in ExpectHighestPriorityTriggerDecision()416 ExpectHighestPriorityTriggerDecision(TriggerDecision::kShowUI); in TEST_F()456 TriggerDecision::kDisabledSimilarLanguages); in TEST_F()492 ExpectHighestPriorityTriggerDecision(TriggerDecision::kShowUI); in TEST_F()538 ExpectHighestPriorityTriggerDecision(TriggerDecision::kShowUI); in TEST_F()632 ExpectHighestPriorityTriggerDecision(TriggerDecision::kShowUI); in TEST_F()664 ExpectHighestPriorityTriggerDecision(TriggerDecision::kShowUI); in TEST_F()707 ExpectHighestPriorityTriggerDecision(TriggerDecision::kShowUI); in TEST_F()790 TriggerDecision::kDisabledURLNotSupported); in TEST_F()1169 TriggerDecision::kDisabledNeverTranslateLanguage); in TEST_F()[all …]
101 TriggerDecision trigger_decision) { in LogTriggerDecision()104 if (trigger_decision_ == TriggerDecision::kUninitialized) in LogTriggerDecision()
32 MOCK_METHOD1(LogTriggerDecision, void(TriggerDecision));
44 translate::TriggerDecision trigger_decision) override { in LogTriggerDecision()