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

Unified Diff: content/browser/appcache/appcache_group.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_group.h
diff --git a/webkit/browser/appcache/appcache_group.h b/content/browser/appcache/appcache_group.h
similarity index 93%
rename from webkit/browser/appcache/appcache_group.h
rename to content/browser/appcache/appcache_group.h
index 68cdb2ac44aceab32521e70e369c3a65f3fbe14b..c79318fd7edb40139ed4f7eef9c12e9f653a902a 100644
--- a/webkit/browser/appcache/appcache_group.h
+++ b/content/browser/appcache/appcache_group.h
@@ -2,8 +2,8 @@
// 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_GROUP_H_
-#define WEBKIT_BROWSER_APPCACHE_APPCACHE_GROUP_H_
+#ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_GROUP_H_
+#define CONTENT_BROWSER_APPCACHE_APPCACHE_GROUP_H_
#include <map>
#include <vector>
@@ -14,8 +14,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "base/time/time.h"
+#include "content/common/content_export.h"
#include "url/gurl.h"
-#include "webkit/browser/webkit_storage_browser_export.h"
namespace content {
FORWARD_DECLARE_TEST(AppCacheGroupTest, StartUpdate);
@@ -27,7 +27,7 @@ class AppCacheUpdateJobTest;
class MockAppCacheStorage;
}
-namespace appcache {
+namespace content {
class AppCache;
class AppCacheHost;
@@ -37,11 +37,11 @@ class HostObserver;
// Collection of application caches identified by the same manifest URL.
// A group exists as long as it is in use by a host or is being updated.
-class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheGroup
+class CONTENT_EXPORT AppCacheGroup
: public base::RefCounted<AppCacheGroup> {
public:
- class WEBKIT_STORAGE_BROWSER_EXPORT UpdateObserver {
+ class CONTENT_EXPORT UpdateObserver {
public:
// Called just after an appcache update has completed.
virtual void OnUpdateComplete(AppCacheGroup* group) = 0;
@@ -172,6 +172,6 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheGroup
DISALLOW_COPY_AND_ASSIGN(AppCacheGroup);
};
-} // namespace appcache
+} // namespace content
-#endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_GROUP_H_
+#endif // CONTENT_BROWSER_APPCACHE_APPCACHE_GROUP_H_

Powered by Google App Engine
This is Rietveld 408576698