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

Unified Diff: chrome/browser/browsing_data_cookie_helper.h

Issue 10084009: Remove duplicated |profile_| attribute in |CannedBrowsingDataCookieHelper|. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 8 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_cookie_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_cookie_helper.h
diff --git a/chrome/browser/browsing_data_cookie_helper.h b/chrome/browser/browsing_data_cookie_helper.h
index 2ef05122e8f20fc11a38f1d8403ce5077c638a1e..41307486aa2cbb48cc94d50fe3b794af412ddcd8 100644
--- a/chrome/browser/browsing_data_cookie_helper.h
+++ b/chrome/browser/browsing_data_cookie_helper.h
@@ -43,6 +43,7 @@ class BrowsingDataCookieHelper
protected:
friend class base::RefCountedThreadSafe<BrowsingDataCookieHelper>;
virtual ~BrowsingDataCookieHelper();
+ Profile* profile() { return profile_; }
private:
// Fetch the cookies. This must be called in the IO thread.
@@ -118,8 +119,6 @@ class CannedBrowsingDataCookieHelper : public BrowsingDataCookieHelper {
net::CookieList cookie_list_;
- Profile* profile_;
-
DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataCookieHelper);
};
« no previous file with comments | « no previous file | chrome/browser/browsing_data_cookie_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698