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

Unified Diff: content/public/browser/appcache_service.h

Issue 344493002: Move all remaining appcache-related code to content namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browsertest and exceptions file 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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/resource_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/appcache_service.h
diff --git a/webkit/browser/appcache/appcache_service.h b/content/public/browser/appcache_service.h
similarity index 83%
rename from webkit/browser/appcache/appcache_service.h
rename to content/public/browser/appcache_service.h
index dc6e33b4308ef35b70a7f784128782788201cddc..8bdfa52b0ed6819096e893d474ae289d9977d94d 100644
--- a/webkit/browser/appcache/appcache_service.h
+++ b/content/public/browser/appcache_service.h
@@ -2,23 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_SERVICE_H_
-#define WEBKIT_BROWSER_APPCACHE_APPCACHE_SERVICE_H_
+#ifndef CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_
+#define CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_
#include <map>
#include <set>
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
-#include "webkit/common/appcache/appcache_interfaces.h"
+#include "content/common/content_export.h"
+#include "content/public/common/appcache_info.h"
+#include "net/base/completion_callback.h"
-namespace appcache {
+namespace content {
class AppCacheStorage;
// Refcounted container to avoid copying the collection in callbacks.
-struct WEBKIT_STORAGE_BROWSER_EXPORT AppCacheInfoCollection
+struct CONTENT_EXPORT AppCacheInfoCollection
: public base::RefCountedThreadSafe<AppCacheInfoCollection> {
AppCacheInfoCollection();
@@ -32,7 +33,7 @@ struct WEBKIT_STORAGE_BROWSER_EXPORT AppCacheInfoCollection
// Class that manages the application cache service. Sends notifications
// to many frontends. One instance per user-profile. Each instance has
// exclusive access to its cache_directory on disk.
-class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheService {
+class CONTENT_EXPORT AppCacheService {
public:
virtual ~AppCacheService() { }
michaeln 2014/06/24 19:09:43 nit: no space needed between {} please make the d
@@ -59,6 +60,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheService {
const net::CompletionCallback& callback) = 0;
};
-} // namespace appcache
+} // namespace content
-#endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_SERVICE_H_
+#endif // CONTENT_PUBLIC_BROWSER_APPCACHE_SERVICE_H_
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/resource_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698