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

Unified Diff: content/browser/appcache/appcache_host.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: content/browser/appcache/appcache_host.h
diff --git a/webkit/browser/appcache/appcache_host.h b/content/browser/appcache/appcache_host.h
similarity index 95%
rename from webkit/browser/appcache/appcache_host.h
rename to content/browser/appcache/appcache_host.h
index 0831f1571ccc1402a8c298999e447a27fc6f7399..cef737ea2e92fb07679163d9f8177a489ef5712a 100644
--- a/webkit/browser/appcache/appcache_host.h
+++ b/content/browser/appcache/appcache_host.h
@@ -2,19 +2,19 @@
// 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_HOST_H_
-#define WEBKIT_BROWSER_APPCACHE_APPCACHE_HOST_H_
+#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_
+#define CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_
#include "base/callback.h"
#include "base/gtest_prod_util.h"
#include "base/memory/ref_counted.h"
#include "base/observer_list.h"
+#include "content/browser/appcache/appcache_group.h"
+#include "content/browser/appcache/appcache_service_impl.h"
+#include "content/browser/appcache/appcache_storage.h"
+#include "content/common/appcache_interfaces.h"
+#include "content/common/content_export.h"
#include "url/gurl.h"
-#include "webkit/browser/appcache/appcache_group.h"
-#include "webkit/browser/appcache/appcache_service_impl.h"
-#include "webkit/browser/appcache/appcache_storage.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
-#include "webkit/common/appcache/appcache_interfaces.h"
#include "webkit/common/resource_type.h"
namespace net {
@@ -42,7 +42,7 @@ class AppCacheRequestHandlerTest;
class AppCacheUpdateJobTest;
}
-namespace appcache {
+namespace content {
class AppCache;
class AppCacheFrontend;
@@ -53,13 +53,13 @@ typedef base::Callback<void(bool, void*)> StartUpdateCallback;
typedef base::Callback<void(bool, void*)> SwapCacheCallback;
// Server-side representation of an application cache host.
-class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheHost
+class CONTENT_EXPORT AppCacheHost
: public AppCacheStorage::Delegate,
public AppCacheGroup::UpdateObserver,
public AppCacheServiceImpl::Observer {
public:
- class WEBKIT_STORAGE_BROWSER_EXPORT Observer {
+ class CONTENT_EXPORT Observer {
public:
// Called just after the cache selection algorithm completes.
virtual void OnCacheSelectionComplete(AppCacheHost* host) = 0;
@@ -333,6 +333,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheHost
DISALLOW_COPY_AND_ASSIGN(AppCacheHost);
};
-} // namespace appcache
+} // namespace content
-#endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_HOST_H_
+#endif // CONTENT_BROWSER_APPCACHE_APPCACHE_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698