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

Side by Side Diff: chrome/browser/browsing_data_appcache_helper.h

Issue 2370001: Store blocked cookies in the tab contents. (Closed)
Patch Set: updates Created 10 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // fetch its information from the appcache service, but gets them passed as 54 // fetch its information from the appcache service, but gets them passed as
55 // a parameter during construction. 55 // a parameter during construction.
56 class CannedBrowsingDataAppCacheHelper : public BrowsingDataAppCacheHelper { 56 class CannedBrowsingDataAppCacheHelper : public BrowsingDataAppCacheHelper {
57 public: 57 public:
58 explicit CannedBrowsingDataAppCacheHelper(Profile* profile); 58 explicit CannedBrowsingDataAppCacheHelper(Profile* profile);
59 59
60 // Add an appcache to the set of canned caches that is returned by this 60 // Add an appcache to the set of canned caches that is returned by this
61 // helper. 61 // helper.
62 void AddAppCache(const GURL& manifest_url); 62 void AddAppCache(const GURL& manifest_url);
63 63
64 // Clears the list of canned caches.
65 void Reset();
66
64 // BrowsingDataAppCacheHelper methods. 67 // BrowsingDataAppCacheHelper methods.
65 virtual void StartFetching(Callback0::Type* completion_callback); 68 virtual void StartFetching(Callback0::Type* completion_callback);
66 virtual void CancelNotification() {} 69 virtual void CancelNotification() {}
67 70
68 private: 71 private:
69 virtual ~CannedBrowsingDataAppCacheHelper() {} 72 virtual ~CannedBrowsingDataAppCacheHelper() {}
70 73
71 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper); 74 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataAppCacheHelper);
72 }; 75 };
73 76
74 #endif // CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_ 77 #endif // CHROME_BROWSER_BROWSING_DATA_APPCACHE_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data_appcache_helper.cc » ('j') | chrome/browser/tab_contents/tab_contents.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698