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

Unified Diff: chrome/browser/extensions/api/gcd_private/privet_v3_session.h

Issue 1441993004: Hide PrivetHttpClient inside of PrivetV3Session (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@context4
Patch Set: Created 5 years, 1 month 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: chrome/browser/extensions/api/gcd_private/privet_v3_session.h
diff --git a/chrome/browser/extensions/api/gcd_private/privet_v3_session.h b/chrome/browser/extensions/api/gcd_private/privet_v3_session.h
index 86745fab020d72110f59eb35bf288a4cd1cec3ef..eef8871ce6a526e5f7b09773db003d16162fb7bb 100644
--- a/chrome/browser/extensions/api/gcd_private/privet_v3_session.h
+++ b/chrome/browser/extensions/api/gcd_private/privet_v3_session.h
@@ -49,8 +49,9 @@ class PrivetV3Session {
const base::DictionaryValue& response)>
MessageCallback;
- explicit PrivetV3Session(
- scoped_ptr<local_discovery::PrivetHTTPClient> client);
+ PrivetV3Session(
+ const scoped_refptr<net::URLRequestContextGetter>& context_getter,
+ const net::HostPortPair& host_port);
~PrivetV3Session();
// Initializes session. Queries /privet/info and returns supported pairing

Powered by Google App Engine
This is Rietveld 408576698