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

Unified Diff: chrome/common/pref_store_observer_mock.h

Issue 11243002: Move the bits of Prefs where production code has only trivially easy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, fix gypi problem Created 8 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 | « chrome/common/pref_store.cc ('k') | chrome/common/pref_store_observer_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_store_observer_mock.h
diff --git a/chrome/common/pref_store_observer_mock.h b/chrome/common/pref_store_observer_mock.h
deleted file mode 100644
index d3733c83dd340473ed673c5fc2a1ce41c9b8ecce..0000000000000000000000000000000000000000
--- a/chrome/common/pref_store_observer_mock.h
+++ /dev/null
@@ -1,25 +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.
-
-#ifndef CHROME_COMMON_PREF_STORE_OBSERVER_MOCK_H_
-#define CHROME_COMMON_PREF_STORE_OBSERVER_MOCK_H_
-
-#include "base/basictypes.h"
-#include "chrome/common/pref_store.h"
-#include "testing/gmock/include/gmock/gmock.h"
-
-// A gmock-ified implementation of PrefStore::Observer.
-class PrefStoreObserverMock : public PrefStore::Observer {
- public:
- PrefStoreObserverMock();
- virtual ~PrefStoreObserverMock();
-
- MOCK_METHOD1(OnPrefValueChanged, void(const std::string&));
- MOCK_METHOD1(OnInitializationCompleted, void(bool));
-
- private:
- DISALLOW_COPY_AND_ASSIGN(PrefStoreObserverMock);
-};
-
-#endif // CHROME_COMMON_PREF_STORE_OBSERVER_MOCK_H_
« no previous file with comments | « chrome/common/pref_store.cc ('k') | chrome/common/pref_store_observer_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698