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

Unified Diff: webkit/quota/special_storage_policy.cc

Issue 16010007: Move webkit/quota files to webkit/browser/quota or webkit/common/quota (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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 | « webkit/quota/special_storage_policy.h ('k') | webkit/quota/usage_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/special_storage_policy.cc
diff --git a/webkit/quota/special_storage_policy.cc b/webkit/quota/special_storage_policy.cc
deleted file mode 100644
index 95898a023dcfc78301e4c4f023618256d044375f..0000000000000000000000000000000000000000
--- a/webkit/quota/special_storage_policy.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "webkit/quota/special_storage_policy.h"
-
-namespace quota {
-
-SpecialStoragePolicy::Observer::~Observer() {}
-
-SpecialStoragePolicy::SpecialStoragePolicy() {}
-
-SpecialStoragePolicy::~SpecialStoragePolicy() {}
-
-void SpecialStoragePolicy::AddObserver(Observer* observer) {
- observers_.AddObserver(observer);
-}
-
-void SpecialStoragePolicy::RemoveObserver(Observer* observer) {
- observers_.RemoveObserver(observer);
-}
-
-void SpecialStoragePolicy::NotifyGranted(const GURL& origin, int change_flags) {
- scoped_refptr<SpecialStoragePolicy> protect(this);
- FOR_EACH_OBSERVER(Observer, observers_, OnGranted(origin, change_flags));
-}
-
-void SpecialStoragePolicy::NotifyRevoked(const GURL& origin, int change_flags) {
- scoped_refptr<SpecialStoragePolicy> protect(this);
- FOR_EACH_OBSERVER(Observer, observers_, OnRevoked(origin, change_flags));
-}
-
-void SpecialStoragePolicy::NotifyCleared() {
- scoped_refptr<SpecialStoragePolicy> protect(this);
- FOR_EACH_OBSERVER(Observer, observers_, OnCleared());
-}
-
-} // namespace quota
« no previous file with comments | « webkit/quota/special_storage_policy.h ('k') | webkit/quota/usage_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698