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

Unified Diff: chrome/browser/extensions/mock_extension_special_storage_policy.cc

Issue 7210006: AppCaches which belong to hosted apps are not protected from deletion (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Test beautification. Created 9 years, 5 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/extensions/mock_extension_special_storage_policy.cc
diff --git a/chrome/browser/extensions/mock_extension_special_storage_policy.cc b/chrome/browser/extensions/mock_extension_special_storage_policy.cc
deleted file mode 100644
index dddf49fe7cd0f028840667a15806ae1487e54f3b..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/mock_extension_special_storage_policy.cc
+++ /dev/null
@@ -1,21 +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 "chrome/browser/extensions/mock_extension_special_storage_policy.h"
-
-MockExtensionSpecialStoragePolicy::MockExtensionSpecialStoragePolicy() {}
-MockExtensionSpecialStoragePolicy::~MockExtensionSpecialStoragePolicy() {}
-
-bool MockExtensionSpecialStoragePolicy::IsStorageProtected(const GURL& origin) {
- return protected_.find(origin) != protected_.end();
-}
-
-bool MockExtensionSpecialStoragePolicy::IsStorageUnlimited(const GURL& origin) {
- return unlimited_.find(origin) != unlimited_.end();
-}
-
-bool MockExtensionSpecialStoragePolicy::IsFileHandler(
- const std::string& extension_id) {
- return file_handlers_.find(extension_id) != file_handlers_.end();
-}

Powered by Google App Engine
This is Rietveld 408576698