Home
last modified time | relevance | path

Searched refs:api_key (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/google_apis/
Dgoogle_api_keys_unittest.cc141 std::string api_key = testcase::g_api_key_cache.Get().api_key(); in TEST_F() local
163 EXPECT_NE(0u, api_key.size()); in TEST_F()
164 EXPECT_NE(DUMMY_API_TOKEN, api_key); in TEST_F()
165 EXPECT_NE("bogus api_key", api_key); in TEST_F()
166 EXPECT_NE(kDummyToken, api_key); in TEST_F()
238 std::string api_key = testcase::g_api_key_cache.Get().api_key(); in TEST_F() local
260 EXPECT_EQ(kDummyToken, api_key); in TEST_F()
304 std::string api_key = testcase::g_api_key_cache.Get().api_key(); in TEST_F() local
326 EXPECT_EQ("API_KEY override", api_key); in TEST_F()
377 std::string api_key = testcase::g_api_key_cache.Get().api_key(); in TEST_F() local
[all …]
Dgoogle_api_keys.cc180 std::string api_key() const { return api_key_; } in api_key() function in google_apis::APIKeyCache
261 return g_api_key_cache.Get().api_key(); in GetAPIKey()
/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_manager_helper.cc46 std::string api_key = google_apis::GetAPIKey(); in ComposeUrl() local
47 if (!api_key.empty()) { in ComposeUrl()
49 net::EscapeQueryParamValue(api_key, true).c_str()); in ComposeUrl()
Dping_manager.cc147 std::string api_key = google_apis::GetAPIKey(); in MalwareDetailsUrl() local
148 if (!api_key.empty()) { in MalwareDetailsUrl()
150 net::EscapeQueryParamValue(api_key, true).c_str()); in MalwareDetailsUrl()
Dclient_side_detection_service.cc683 std::string api_key = google_apis::GetAPIKey(); in GetClientReportUrl() local
684 if (!api_key.empty()) in GetClientReportUrl()
685 url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true)); in GetClientReportUrl()
Ddownload_protection_service.cc969 std::string api_key = google_apis::GetAPIKey(); in GetDownloadRequestUrl() local
970 if (!api_key.empty()) in GetDownloadRequestUrl()
971 url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true)); in GetDownloadRequestUrl()
/external/chromium_org/chrome/browser/spellchecker/
Dspelling_service_client.cc85 std::string api_key = base::GetQuotedJSONString(google_apis::GetAPIKey()); in RequestTextCheck() local
92 api_key.c_str()); in RequestTextCheck()
/external/chromium_org/content/browser/geolocation/
Dnetwork_location_request.cc194 std::string api_key = google_apis::GetAPIKey(); in FormRequestURL() local
195 if (!api_key.empty()) { in FormRequestURL()
199 query += "key=" + net::EscapeQueryParamValue(api_key, true); in FormRequestURL()
/external/chromium_org/content/browser/speech/
Dgoogle_one_shot_remote_engine.cc200 std::string api_key = google_apis::GetAPIKey(); in StartRecognition() local
201 parts.push_back("key=" + net::EscapeQueryParamValue(api_key, true)); in StartRecognition()
Dgoogle_streaming_remote_engine.cc79 std::string api_key = google_apis::GetAPIKey(); in GetAPIKey() local
80 if (api_key.empty()) in GetAPIKey()
83 return api_key; in GetAPIKey()
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/
Dchrome_ex_oauthsimple.js196 this._secrets.consumer_key = this._secrets.api_key;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gdocs/
Dchrome_ex_oauthsimple.js196 this._secrets.consumer_key = this._secrets.api_key;
/external/chromium/chrome/common/extensions/docs/examples/extensions/wave/
Dchrome_ex_oauthsimple.js196 this._secrets.consumer_key = this._secrets.api_key;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
Dchrome_ex_oauthsimple.js196 this._secrets.consumer_key = this._secrets.api_key;
/external/chromium/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
Dchrome_ex_oauthsimple.js196 this._secrets.consumer_key = this._secrets.api_key;
/external/chromium_org/sync/protocol/
Dsync.proto667 optional string api_key = 12; field