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

Side by Side Diff: chrome/browser/sync_file_system/local/mock_sync_status_observer.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_MOCK_SYNC_STATUS_OBSERVER_H_ 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_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_MOCK_SYNC_STATUS_OBSERVER_H_
7 7
8 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h" 8 #include "chrome/browser/sync_file_system/local/local_file_sync_status.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace sync_file_system { 11 namespace sync_file_system {
12 12
13 class MockSyncStatusObserver : public LocalFileSyncStatus::Observer { 13 class MockSyncStatusObserver : public LocalFileSyncStatus::Observer {
14 public: 14 public:
15 MockSyncStatusObserver(); 15 MockSyncStatusObserver();
16 virtual ~MockSyncStatusObserver(); 16 virtual ~MockSyncStatusObserver();
17 17
18 // LocalFileSyncStatus::Observer overrides. 18 // LocalFileSyncStatus::Observer overrides.
19 MOCK_METHOD1(OnSyncEnabled, void(const fileapi::FileSystemURL& url)); 19 MOCK_METHOD1(OnSyncEnabled, void(const storage::FileSystemURL& url));
20 MOCK_METHOD1(OnWriteEnabled, void(const fileapi::FileSystemURL& url)); 20 MOCK_METHOD1(OnWriteEnabled, void(const storage::FileSystemURL& url));
21 21
22 private: 22 private:
23 DISALLOW_COPY_AND_ASSIGN(MockSyncStatusObserver); 23 DISALLOW_COPY_AND_ASSIGN(MockSyncStatusObserver);
24 }; 24 };
25 25
26 } // namespace sync_file_system 26 } // namespace sync_file_system
27 27
28 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_MOCK_SYNC_STATUS_OBSERVER_H_ 28 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_MOCK_SYNC_STATUS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698