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

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 memory error 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
« no previous file with comments | « components/copresence/public/copresence_manager.h ('k') | components/copresence/rpc/http_post.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/copresence/rpc/http_post.h
diff --git a/components/copresence/rpc/http_post.h b/components/copresence/rpc/http_post.h
index 83a39c01cfd24d5507d6f87209710f6a552f531d..777be15dadc75fe52551c043939fbb38d802fe98 100644
--- a/components/copresence/rpc/http_post.h
+++ b/components/copresence/rpc/http_post.h
@@ -41,9 +41,11 @@ class HttpPost : public net::URLFetcherDelegate {
// and the context it provides must be available until the request completes.
HttpPost(net::URLRequestContextGetter* url_context_getter,
const std::string& server_host,
+ // TODO(ckehoe): Condense some of these into a struct.
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.
« no previous file with comments | « components/copresence/public/copresence_manager.h ('k') | components/copresence/rpc/http_post.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698