Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(812)

Unified Diff: components/copresence/rpc/http_post.h

Issue 671573003: Adding support for authenticated copresence calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing histograms Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/copresence/rpc/http_post.h
diff --git a/components/copresence/rpc/http_post.h b/components/copresence/rpc/http_post.h
index f324b69066d76d5b51739de7169bbc885e6b34ba..e0628a301ce2f4e6107e13f6e2fe8bba6ecbc0f4 100644
--- a/components/copresence/rpc/http_post.h
+++ b/components/copresence/rpc/http_post.h
@@ -42,8 +42,9 @@ class HttpPost : public net::URLFetcherDelegate {
HttpPost(net::URLRequestContextGetter* url_context_getter,
const std::string& server_host,
const std::string& rpc_name,
- const std::string& tracing_token,
std::string api_key, // If blank, we overwrite with a default.
+ const std::string& auth_token,
+ const std::string& tracing_token,
const google::protobuf::MessageLite& request_proto);
// HTTP requests are cancelled on delete.

Powered by Google App Engine
This is Rietveld 408576698