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

Side by Side Diff: chrome/browser/sync/glue/frontend_data_type_controller_mock.h

Issue 408003002: [Sync] Fix namespace for sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GLUE_FRONTEND_DATA_TYPE_CONTROLLER_MOCK_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_FRONTEND_DATA_TYPE_CONTROLLER_MOCK_H__
6 #define CHROME_BROWSER_SYNC_GLUE_FRONTEND_DATA_TYPE_CONTROLLER_MOCK_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_FRONTEND_DATA_TYPE_CONTROLLER_MOCK_H__
7 7
8 #include "chrome/browser/sync/glue/frontend_data_type_controller.h" 8 #include "chrome/browser/sync/glue/frontend_data_type_controller.h"
9 #include "sync/api/sync_error.h" 9 #include "sync/api/sync_error.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 20 matching lines...) Expand all
31 const std::string&)); 31 const std::string&));
32 32
33 // FrontendDataTypeController mocks. 33 // FrontendDataTypeController mocks.
34 MOCK_METHOD0(StartModels, bool()); 34 MOCK_METHOD0(StartModels, bool());
35 MOCK_METHOD0(Associate, bool()); 35 MOCK_METHOD0(Associate, bool());
36 MOCK_METHOD0(CreateSyncComponents, void()); 36 MOCK_METHOD0(CreateSyncComponents, void());
37 MOCK_METHOD2(StartFailed, void(StartResult result, 37 MOCK_METHOD2(StartFailed, void(StartResult result,
38 const syncer::SyncError& error)); 38 const syncer::SyncError& error));
39 MOCK_METHOD1(FinishStart, void(StartResult result)); 39 MOCK_METHOD1(FinishStart, void(StartResult result));
40 MOCK_METHOD0(CleanUpState, void()); 40 MOCK_METHOD0(CleanUpState, void());
41 MOCK_CONST_METHOD0(model_associator, AssociatorInterface*()); 41 MOCK_CONST_METHOD0(model_associator, sync_driver::AssociatorInterface*());
42 MOCK_METHOD1(set_model_associator, void(AssociatorInterface* associator)); 42 MOCK_METHOD1(set_model_associator,
43 MOCK_CONST_METHOD0(change_processor, ChangeProcessor*()); 43 void(sync_driver::AssociatorInterface* associator));
44 MOCK_METHOD1(set_change_processor, void(ChangeProcessor* processor)); 44 MOCK_CONST_METHOD0(change_processor, sync_driver::ChangeProcessor*());
45 MOCK_METHOD1(set_change_processor,
46 void(sync_driver::ChangeProcessor* processor));
45 MOCK_METHOD2(RecordUnrecoverableError, void(const tracked_objects::Location&, 47 MOCK_METHOD2(RecordUnrecoverableError, void(const tracked_objects::Location&,
46 const std::string&)); 48 const std::string&));
47 MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time)); 49 MOCK_METHOD1(RecordAssociationTime, void(base::TimeDelta time));
48 MOCK_METHOD1(RecordStartFailure, void(StartResult result)); 50 MOCK_METHOD1(RecordStartFailure, void(StartResult result));
49 51
50 protected: 52 protected:
51 virtual ~FrontendDataTypeControllerMock(); 53 virtual ~FrontendDataTypeControllerMock();
52 }; 54 };
53 55
54 } // namespace browser_sync 56 } // namespace browser_sync
55 57
56 #endif // CHROME_BROWSER_SYNC_GLUE_FRONTEND_DATA_TYPE_CONTROLLER_MOCK_H__ 58 #endif // CHROME_BROWSER_SYNC_GLUE_FRONTEND_DATA_TYPE_CONTROLLER_MOCK_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698