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

Unified Diff: chrome/browser/browsing_data/browsing_data_channel_id_helper.h

Issue 508223002: Remove Profile dependency from browsing_data_channel_id_helper.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | chrome/browser/browsing_data/browsing_data_channel_id_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_channel_id_helper.h
diff --git a/chrome/browser/browsing_data/browsing_data_channel_id_helper.h b/chrome/browser/browsing_data/browsing_data_channel_id_helper.h
index e2b79821a9f7bc4f56b28b6dd55a6820addac53d..96e1dc5d45530721540646d0522247b0e42d6178 100644
--- a/chrome/browser/browsing_data/browsing_data_channel_id_helper.h
+++ b/chrome/browser/browsing_data/browsing_data_channel_id_helper.h
@@ -11,7 +11,9 @@
#include "base/callback.h"
#include "net/ssl/channel_id_store.h"
-class Profile;
+namespace net {
+class URLRequestContextGetter;
+}
// BrowsingDataChannelIDHelper is an interface for classes dealing with
// aggregating and deleting browsing data stored in the channel ID store.
@@ -22,8 +24,9 @@ class BrowsingDataChannelIDHelper
: public base::RefCountedThreadSafe<BrowsingDataChannelIDHelper> {
public:
// Create a BrowsingDataChannelIDHelper instance for the given
- // |profile|.
- static BrowsingDataChannelIDHelper* Create(Profile* profile);
+ // |request_context|.
+ static BrowsingDataChannelIDHelper* Create(
+ net::URLRequestContextGetter* request_context);
typedef base::Callback<
void(const net::ChannelIDStore::ChannelIDList&)>
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_channel_id_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698