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

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

Issue 344493002: Move all remaining appcache-related code to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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
Index: chrome/browser/browsing_data/browsing_data_appcache_helper.h
diff --git a/chrome/browser/browsing_data/browsing_data_appcache_helper.h b/chrome/browser/browsing_data/browsing_data_appcache_helper.h
index 8a23ba233c9e34190cacc7732f32c3166e7677d2..6a7ea6a34bb7f6df32356f0d5739f308f5adc30d 100644
--- a/chrome/browser/browsing_data/browsing_data_appcache_helper.h
+++ b/chrome/browser/browsing_data/browsing_data_appcache_helper.h
@@ -7,13 +7,13 @@
#include "base/callback.h"
#include "base/memory/ref_counted.h"
+#include "content/public/browser/appcache_service.h"
#include "net/base/completion_callback.h"
#include "url/gurl.h"
-#include "webkit/browser/appcache/appcache_service.h"
class Profile;
-namespace appcache {
+namespace content {
class AppCacheService;
}
@@ -22,14 +22,14 @@ class AppCacheService;
class BrowsingDataAppCacheHelper
: public base::RefCountedThreadSafe<BrowsingDataAppCacheHelper> {
public:
- typedef std::map<GURL, appcache::AppCacheInfoVector> OriginAppCacheInfoMap;
+ typedef std::map<GURL, content::AppCacheInfoVector> OriginAppCacheInfoMap;
explicit BrowsingDataAppCacheHelper(Profile* profile);
virtual void StartFetching(const base::Closure& completion_callback);
virtual void DeleteAppCacheGroup(const GURL& manifest_url);
- appcache::AppCacheInfoCollection* info_collection() const {
+ content::AppCacheInfoCollection* info_collection() const {
DCHECK(!is_fetching_);
return info_collection_.get();
}
@@ -39,13 +39,13 @@ class BrowsingDataAppCacheHelper
virtual ~BrowsingDataAppCacheHelper();
base::Closure completion_callback_;
- scoped_refptr<appcache::AppCacheInfoCollection> info_collection_;
+ scoped_refptr<content::AppCacheInfoCollection> info_collection_;
private:
void OnFetchComplete(int rv);
bool is_fetching_;
- appcache::AppCacheService* appcache_service_;
+ content::AppCacheService* appcache_service_;
net::CancelableCompletionCallback appcache_info_callback_;
DISALLOW_COPY_AND_ASSIGN(BrowsingDataAppCacheHelper);

Powered by Google App Engine
This is Rietveld 408576698