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

Unified Diff: chrome/browser/extensions/api/system_info_storage/storage_info_provider_android.cc

Issue 16707002: [SystemInfo API] Rewrite storage info provider using storage monitor impl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove storage_info_provider_linux_unittest.cc in chrome_tests_unit.gypi Created 7 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: chrome/browser/extensions/api/system_info_storage/storage_info_provider_android.cc
diff --git a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_android.cc b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_android.cc
deleted file mode 100644
index 25e9f6ec008ba52bb7917b5af3fc719c5e98fe03..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_android.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2013 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/api/system_info_storage/storage_info_provider.h"
-
-namespace extensions {
-
-namespace {
-
-using api::experimental_system_info_storage::StorageUnitInfo;
-
-// Empty StorageInfoProvider implementation on Android platform.
-class StorageInfoProviderAndroid : public StorageInfoProvider {
- public:
- StorageInfoProviderAndroid() {}
-
- virtual bool QueryInfo(StorageInfo* info) OVERRIDE {
- NOTIMPLEMENTED();
- return false;
- }
- virtual bool QueryUnitInfo(const std::string& id,
- StorageUnitInfo* info) OVERRIDE {
- NOTIMPLEMENTED();
- return false;
- }
-
- private:
- virtual ~StorageInfoProviderAndroid() {}
-};
-
-} //
-
-// static
-StorageInfoProvider* StorageInfoProvider::Get() {
- return StorageInfoProvider::GetInstance<StorageInfoProviderAndroid>();
-}
-
-} // namespace extensions
-

Powered by Google App Engine
This is Rietveld 408576698