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

Unified Diff: chrome/browser/chromeos/drive/test_util.cc

Issue 1208963003: Move GN obj files to target-specific dirs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: \ Created 5 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/chromeos/drive/test_util.cc
diff --git a/chrome/browser/chromeos/drive/test_util.cc b/chrome/browser/chromeos/drive/test_util.cc
deleted file mode 100644
index 644fb8402c1868c9318504e2aa58dbf7cd413589..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/drive/test_util.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 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/chromeos/drive/test_util.h"
-
-#include "base/prefs/pref_registry_simple.h"
-#include "base/prefs/testing_pref_service.h"
-#include "chrome/browser/chromeos/drive/drive.pb.h"
-#include "chrome/browser/chromeos/drive/drive_pref_names.h"
-
-namespace drive {
-namespace test_util {
-
-void RegisterDrivePrefs(PrefRegistrySimple* pref_registry) {
- pref_registry->RegisterBooleanPref(
- prefs::kDisableDrive,
- false);
- pref_registry->RegisterBooleanPref(
- prefs::kDisableDriveOverCellular,
- true);
- pref_registry->RegisterBooleanPref(
- prefs::kDisableDriveHostedFiles,
- false);
-}
-
-FakeNetworkChangeNotifier::FakeNetworkChangeNotifier()
- : type_(CONNECTION_WIFI) {
-}
-
-void FakeNetworkChangeNotifier::SetConnectionType(ConnectionType type) {
- type_ = type;
- NotifyObserversOfConnectionTypeChange();
-}
-
-net::NetworkChangeNotifier::ConnectionType
-FakeNetworkChangeNotifier::GetCurrentConnectionType() const {
- return type_;
-}
-
-} // namespace test_util
-} // namespace drive

Powered by Google App Engine
This is Rietveld 408576698