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

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

Issue 16703025: [StorageMonitor] Move StorageMonitor ownership to BrowserProcessImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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_linux_unittest.cc
diff --git a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux_unittest.cc b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux_unittest.cc
index 24bd8d8c8ecb3a7ce153d89cb340f793f584ddce..9343828f89cbc1bfdacff412bfaf51998af8ee71 100644
--- a/chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux_unittest.cc
+++ b/chrome/browser/extensions/api/system_info_storage/storage_info_provider_linux_unittest.cc
@@ -10,7 +10,6 @@
#include "base/file_util.h"
#include "base/stl_util.h"
-#include "chrome/browser/storage_monitor/test_storage_monitor.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
@@ -18,7 +17,6 @@ namespace extensions {
using api::experimental_system_info_storage::ParseStorageUnitType;
using api::experimental_system_info_storage::StorageUnitInfo;
using api::experimental_system_info_storage::ToString;
-using chrome::test::TestStorageMonitor;
namespace {
@@ -104,7 +102,6 @@ class StorageInfoProviderLinuxTest : public testing::Test {
int bytes = file_util::WriteFile(mtab_file_, mtab_test_data,
strlen(mtab_test_data));
ASSERT_EQ(static_cast<int>(strlen(mtab_test_data)), bytes);
- test_storage_notifications_.reset(new TestStorageMonitor);
storage_info_provider_ = new StorageInfoProviderLinuxWrapper(mtab_file_);
}
@@ -116,7 +113,6 @@ class StorageInfoProviderLinuxTest : public testing::Test {
private:
base::FilePath mtab_file_;
- scoped_ptr<TestStorageMonitor> test_storage_notifications_;
};
TEST_F(StorageInfoProviderLinuxTest, QueryInfo) {

Powered by Google App Engine
This is Rietveld 408576698