Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / sync_file_system / local / mock_sync_status_observer.h
blob62bd5e50b4ea46fb2fda96df86296d9abb8de5b5
1 // Copyright 2013 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_MOCK_SYNC_STATUS_OBSERVER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_MOCK_SYNC_STATUS_OBSERVER_H_
8 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h"
9 #include "testing/gmock/include/gmock/gmock.h"
11 namespace sync_file_system {
13 class MockSyncStatusObserver : public LocalFileSyncStatus::Observer {
14 public:
15 MockSyncStatusObserver();
16 virtual ~MockSyncStatusObserver();
18 // LocalFileSyncStatus::Observer overrides.
19 MOCK_METHOD1(OnSyncEnabled, void(const fileapi::FileSystemURL& url));
20 MOCK_METHOD1(OnWriteEnabled, void(const fileapi::FileSystemURL& url));
22 private:
23 DISALLOW_COPY_AND_ASSIGN(MockSyncStatusObserver);
26 } // namespace sync_file_system
28 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_MOCK_SYNC_STATUS_OBSERVER_H_