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

Side by Side Diff: components/sync_driver/data_type_error_handler_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_ERROR_HANDLER_MOCK_H__ 4 #ifndef COMPONENTS_SYNC_DRIVER_DATA_TYPE_ERROR_HANDLER_MOCK_H__
5 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_ERROR_HANDLER_MOCK_H__ 5 #define COMPONENTS_SYNC_DRIVER_DATA_TYPE_ERROR_HANDLER_MOCK_H__
6 6
7 #include "components/sync_driver/data_type_controller.h" 7 #include "components/sync_driver/data_type_controller.h"
8 #include "sync/internal_api/public/base/model_type.h" 8 #include "sync/internal_api/public/base/model_type.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace browser_sync { 11 namespace sync_driver {
12 12
13 class DataTypeErrorHandlerMock : public DataTypeErrorHandler { 13 class DataTypeErrorHandlerMock : public DataTypeErrorHandler {
14 public: 14 public:
15 DataTypeErrorHandlerMock(); 15 DataTypeErrorHandlerMock();
16 virtual ~DataTypeErrorHandlerMock(); 16 virtual ~DataTypeErrorHandlerMock();
17 MOCK_METHOD2(OnSingleDatatypeUnrecoverableError, 17 MOCK_METHOD2(OnSingleDatatypeUnrecoverableError,
18 void(const tracked_objects::Location&, const std::string&)); 18 void(const tracked_objects::Location&, const std::string&));
19 MOCK_METHOD3(CreateAndUploadError, 19 MOCK_METHOD3(CreateAndUploadError,
20 syncer::SyncError(const tracked_objects::Location&, 20 syncer::SyncError(const tracked_objects::Location&,
21 const std::string&, 21 const std::string&,
22 syncer::ModelType)); 22 syncer::ModelType));
23 23
24 }; 24 };
25 25
26 } // namesspace browser_sync 26 } // namespace sync_driver
27 27
28 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_ERROR_HANDLER_MOCK_H__ 28 #endif // COMPONENTS_SYNC_DRIVER_DATA_TYPE_ERROR_HANDLER_MOCK_H__
OLDNEW
« no previous file with comments | « components/sync_driver/data_type_error_handler.h ('k') | components/sync_driver/data_type_error_handler_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698