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

Unified Diff: extensions/browser/updater/null_extension_cache.cc

Issue 653623002: Revert "Move ExtensionCache to //extensions" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable AutoEnrollmentClientTest.* and DeviceLocalAccountExternalPolicyLoaderTest.CacheNotStarted te… Created 6 years, 2 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 | « extensions/browser/updater/null_extension_cache.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/updater/null_extension_cache.cc
diff --git a/extensions/browser/updater/null_extension_cache.cc b/extensions/browser/updater/null_extension_cache.cc
deleted file mode 100644
index 3241d203ad1ff02412c0e2f70ad849f36ed0c1b4..0000000000000000000000000000000000000000
--- a/extensions/browser/updater/null_extension_cache.cc
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2014 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 "extensions/browser/updater/null_extension_cache.h"
-
-#include "base/callback.h"
-
-namespace extensions {
-
-NullExtensionCache::NullExtensionCache() {
-}
-
-NullExtensionCache::~NullExtensionCache() {
-}
-
-void NullExtensionCache::Start(const base::Closure& callback) {
- callback.Run();
-}
-
-void NullExtensionCache::Shutdown(const base::Closure& callback) {
- callback.Run();
-}
-
-void NullExtensionCache::AllowCaching(const std::string& id) {
-}
-
-bool NullExtensionCache::GetExtension(const std::string& id,
- base::FilePath* file_path,
- std::string* version) {
- return false;
-}
-
-void NullExtensionCache::PutExtension(const std::string& id,
- const base::FilePath& file_path,
- const std::string& version,
- const PutExtensionCallback& callback) {
- callback.Run(file_path, true);
-}
-
-} // namespace extensions
« no previous file with comments | « extensions/browser/updater/null_extension_cache.h ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698