Home
last modified time | relevance | path

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

12

/external/chromium_org/google_apis/
Dgoogle_api_keys_unittest.cc142 std::string api_key = testcase::g_api_key_cache.Get().api_key(); in TEST_F() local
164 EXPECT_NE(0u, api_key.size()); in TEST_F()
165 EXPECT_NE(DUMMY_API_TOKEN, api_key); in TEST_F()
166 EXPECT_NE("bogus api_key", api_key); in TEST_F()
167 EXPECT_NE(kDummyToken, api_key); in TEST_F()
239 std::string api_key = testcase::g_api_key_cache.Get().api_key(); in TEST_F() local
261 EXPECT_EQ(kDummyToken, api_key); in TEST_F()
305 std::string api_key = testcase::g_api_key_cache.Get().api_key(); in TEST_F() local
327 EXPECT_EQ("API_KEY override", api_key); in TEST_F()
378 std::string api_key = testcase::g_api_key_cache.Get().api_key(); in TEST_F() local
[all …]
Dgoogle_api_keys.cc171 std::string api_key() const { return api_key_; } in api_key() function in google_apis::APIKeyCache
252 return g_api_key_cache.Get().api_key(); in GetAPIKey()
/external/chromium_org/components/copresence/rpc/
Dhttp_post.cc29 std::string api_key, in HttpPost() argument
41 if (api_key.empty()) { in HttpPost()
44 api_key = google_apis::GetAPIKey(); in HttpPost()
49 url = net::AppendQueryParameter(url, kApiKeyField, api_key); in HttpPost()
Dhttp_post.h46 std::string api_key, // If blank, we overwrite with a default.
/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_manager_helper.cc50 std::string api_key = google_apis::GetAPIKey(); in ComposeUrl() local
51 if (!api_key.empty()) { in ComposeUrl()
53 net::EscapeQueryParamValue(api_key, true).c_str()); in ComposeUrl()
Dping_manager.cc143 std::string api_key = google_apis::GetAPIKey(); in MalwareDetailsUrl() local
144 if (!api_key.empty()) { in MalwareDetailsUrl()
146 net::EscapeQueryParamValue(api_key, true).c_str()); in MalwareDetailsUrl()
Dclient_side_detection_service.cc638 std::string api_key = google_apis::GetAPIKey(); in GetClientReportUrl() local
639 if (!api_key.empty()) in GetClientReportUrl()
640 url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true)); in GetClientReportUrl()
Ddownload_protection_service.cc1078 std::string api_key = google_apis::GetAPIKey(); in GetDownloadRequestUrl() local
1079 if (!api_key.empty()) in GetDownloadRequestUrl()
1080 url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true)); in GetDownloadRequestUrl()
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
Dincident_report_uploader_impl.cc65 std::string api_key(google_apis::GetAPIKey()); in GetIncidentReportUrl() local
66 if (api_key.empty()) in GetIncidentReportUrl()
68 return url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true)); in GetIncidentReportUrl()
/external/chromium_org/chrome/browser/extensions/api/copresence/
Dcopresence_api.h46 void set_api_key(const std::string& api_key) { api_key_ = api_key; } in set_api_key() argument
Dcopresence_api.cc175 ->set_api_key(params->api_key); in Run()
/external/chromium_org/chrome/browser/extensions/
Dblacklist_state_fetcher.cc170 std::string api_key = google_apis::GetAPIKey(); in RequestUrl() local
171 if (!api_key.empty()) { in RequestUrl()
173 net::EscapeQueryParamValue(api_key, true).c_str()); in RequestUrl()
/external/chromium_org/v8/tools/push-to-trunk/
Dauto_roll.py75 api_key = FileToText(self.Config("CLUSTERFUZZ_API_KEY_FILE"))
78 api_key, job_type="linux_asan_d8_dbg", reproducible="True",
Dcommon_includes.py223 def ReadClusterFuzzAPI(self, api_key, **params): argument
224 params["api_key"] = api_key.strip()
/external/chromium_org/chrome/renderer/net/
Dnet_error_helper_core.h111 std::string api_key; member
157 const std::string& api_key,
Dnet_error_helper_core.cc182 params_dict->SetString("key", correction_params.api_key); in CreateRequestBody()
642 const std::string& api_key, in OnSetNavigationCorrectionInfo() argument
647 navigation_correction_params_.api_key = api_key; in OnSetNavigationCorrectionInfo()
Dnet_error_helper.h110 const std::string& api_key,
Dnet_error_helper.cc328 const std::string& api_key, in OnSetNavigationCorrectionInfo() argument
331 country_code, api_key, search_url); in OnSetNavigationCorrectionInfo()
/external/chromium_org/chrome/browser/chromeos/geolocation/
Dsimple_geolocation_request.cc126 std::string api_key = google_apis::GetAPIKey(); in GeolocationRequestURL() local
127 if (api_key.empty()) in GeolocationRequestURL()
133 query += "key=" + net::EscapeQueryParamValue(api_key, true); in GeolocationRequestURL()
/external/chromium_org/chrome/browser/spellchecker/
Dspelling_service_client.cc83 std::string api_key = base::GetQuotedJSONString(google_apis::GetAPIKey()); in RequestTextCheck() local
90 api_key.c_str()); in RequestTextCheck()
/external/chromium_org/chrome/browser/chromeos/timezone/
Dtimezone_request.cc127 std::string api_key = google_apis::GetAPIKey(); in TimeZoneRequestURL() local
128 if (!api_key.empty()) { in TimeZoneRequestURL()
132 query += net::EscapeQueryParamValue(api_key, true); in TimeZoneRequestURL()
/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.cc204 std::string api_key = google_apis::GetAPIKey(); in StartRecognition() local
205 parts.push_back("key=" + net::EscapeQueryParamValue(api_key, true)); in StartRecognition()
/external/chromium_org/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/oauth_contacts/
Dchrome_ex_oauthsimple.js196 this._secrets.consumer_key = this._secrets.api_key;

12