Add missing pnacl libraries and headers and tools.
[chromium-blink-merge.git] / base / prefs / pref_store_observer_mock.h
blob8252c3b359963e51d0b84012014bab43bf5f3436
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BASE_PREFS_PREF_STORE_OBSERVER_MOCK_H_
6 #define BASE_PREFS_PREF_STORE_OBSERVER_MOCK_H_
8 #include "base/basictypes.h"
9 #include "base/prefs/pref_store.h"
10 #include "testing/gmock/include/gmock/gmock.h"
12 // A gmock-ified implementation of PrefStore::Observer.
13 class PrefStoreObserverMock : public PrefStore::Observer {
14 public:
15 PrefStoreObserverMock();
16 virtual ~PrefStoreObserverMock();
18 MOCK_METHOD1(OnPrefValueChanged, void(const std::string&));
19 MOCK_METHOD1(OnInitializationCompleted, void(bool));
21 private:
22 DISALLOW_COPY_AND_ASSIGN(PrefStoreObserverMock);
25 #endif // BASE_PREFS_PREF_STORE_OBSERVER_MOCK_H_