Searched refs:TranslateScript (Results 1 – 7 of 7) sorted by relevance
30 const char TranslateScript::kScriptURL[] =32 const char TranslateScript::kRequestHeader[] =34 const char TranslateScript::kAlwaysUseSslQueryName[] = "aus";35 const char TranslateScript::kAlwaysUseSslQueryValue[] = "true";36 const char TranslateScript::kCallbackQueryName[] = "cb";37 const char TranslateScript::kCallbackQueryValue[] =39 const char TranslateScript::kCssLoaderCallbackQueryName[] = "clc";40 const char TranslateScript::kCssLoaderCallbackQueryValue[] =42 const char TranslateScript::kJavascriptLoaderCallbackQueryName[] = "jlc";43 const char TranslateScript::kJavascriptLoaderCallbackQueryValue[] =[all …]
24 script_.reset(new TranslateScript); in SetUp()38 return url_fetcher_factory_.GetFetcherByID(TranslateScript::kFetcherId); in GetTestURLFetcher()45 scoped_ptr<TranslateScript> script_;56 GURL expected_url(TranslateScript::kScriptURL); in TEST_F()69 base::StringPrintf("%s\r\n\r\n", TranslateScript::kRequestHeader); in TEST_F()76 url, TranslateScript::kAlwaysUseSslQueryName, &always_use_ssl); in TEST_F()77 EXPECT_EQ(std::string(TranslateScript::kAlwaysUseSslQueryValue), in TEST_F()82 url, TranslateScript::kCallbackQueryName, &callback); in TEST_F()83 EXPECT_EQ(std::string(TranslateScript::kCallbackQueryValue), callback); in TEST_F()87 url, TranslateScript::kCssLoaderCallbackQueryName, &css_loader_callback); in TEST_F()[all …]
19 class TranslateScript {25 TranslateScript();26 virtual ~TranslateScript();89 base::WeakPtrFactory<TranslateScript> weak_method_factory_;91 DISALLOW_COPY_AND_ASSIGN(TranslateScript);
34 class TranslateScript; variable230 scoped_ptr<TranslateScript> script_;
176 factory.GetFetcherByID(TranslateScript::kFetcherId); in IN_PROC_BROWSER_TEST_F()
309 script_.reset(new TranslateScript); in TranslateManager()
263 url_fetcher_factory_.GetFetcherByID(TranslateScript::kFetcherId); in SimulateTranslateScriptURLFetch()