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

Side by Side Diff: components/sync_driver/proxy_data_type_controller.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 4
5 #ifndef COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ 5 #ifndef COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__
6 #define COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ 6 #define COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "components/sync_driver/data_type_controller.h" 10 #include "components/sync_driver/data_type_controller.h"
11 11
12 namespace browser_sync { 12 namespace sync_driver {
13 13
14 // Implementation for proxy datatypes. These are datatype that have no 14 // Implementation for proxy datatypes. These are datatype that have no
15 // representation in sync, and therefore no change processor or syncable 15 // representation in sync, and therefore no change processor or syncable
16 // service. 16 // service.
17 class ProxyDataTypeController : public DataTypeController { 17 class ProxyDataTypeController : public DataTypeController {
18 public: 18 public:
19 explicit ProxyDataTypeController( 19 explicit ProxyDataTypeController(
20 scoped_refptr<base::MessageLoopProxy> ui_thread, 20 scoped_refptr<base::MessageLoopProxy> ui_thread,
21 syncer::ModelType type); 21 syncer::ModelType type);
22 22
(...skipping 22 matching lines...) Expand all
45 45
46 private: 46 private:
47 State state_; 47 State state_;
48 48
49 // The actual type for this controller. 49 // The actual type for this controller.
50 syncer::ModelType type_; 50 syncer::ModelType type_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(ProxyDataTypeController); 52 DISALLOW_COPY_AND_ASSIGN(ProxyDataTypeController);
53 }; 53 };
54 54
55 } // namespace browser_sync 55 } // namespace sync_driver
56 56
57 #endif // COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__ 57 #endif // COMPONENTS_SYNC_DRIVER_PROXY_DATA_TYPE_CONTROLLER_H__
OLDNEW
« no previous file with comments | « components/sync_driver/non_ui_data_type_controller_unittest.cc ('k') | components/sync_driver/proxy_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698