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

Side by Side Diff: components/sync_bookmarks/bookmark_change_processor.h

Issue 2335193006: [Sync] Fix namespaces for the sync_bookmarks component. (Closed)
Patch Set: This is what I get for de-linting. Created 4 years, 3 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
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 COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ 5 #ifndef COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_
6 #define COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ 6 #define COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 17 matching lines...) Expand all
28 28
29 namespace syncer { 29 namespace syncer {
30 class WriteNode; 30 class WriteNode;
31 class WriteTransaction; 31 class WriteTransaction;
32 } // namespace syncer 32 } // namespace syncer
33 33
34 namespace sync_driver { 34 namespace sync_driver {
35 class SyncClient; 35 class SyncClient;
36 } 36 }
37 37
38 namespace browser_sync { 38 namespace sync_bookmarks {
39 39
40 // This class is responsible for taking changes from the BookmarkModel 40 // This class is responsible for taking changes from the BookmarkModel
41 // and applying them to the sync API 'syncable' model, and vice versa. 41 // and applying them to the sync API 'syncable' model, and vice versa.
42 // All operations and use of this class are from the UI thread. 42 // All operations and use of this class are from the UI thread.
43 // This is currently bookmarks specific. 43 // This is currently bookmarks specific.
44 class BookmarkChangeProcessor : public bookmarks::BookmarkModelObserver, 44 class BookmarkChangeProcessor : public bookmarks::BookmarkModelObserver,
45 public sync_driver::ChangeProcessor { 45 public sync_driver::ChangeProcessor {
46 public: 46 public:
47 BookmarkChangeProcessor( 47 BookmarkChangeProcessor(
48 sync_driver::SyncClient* sync_client, 48 sync_driver::SyncClient* sync_client,
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 bookmarks::BookmarkModel* bookmark_model_; 251 bookmarks::BookmarkModel* bookmark_model_;
252 252
253 sync_driver::SyncClient* sync_client_; 253 sync_driver::SyncClient* sync_client_;
254 254
255 // The two models should be associated according to this ModelAssociator. 255 // The two models should be associated according to this ModelAssociator.
256 BookmarkModelAssociator* model_associator_; 256 BookmarkModelAssociator* model_associator_;
257 257
258 DISALLOW_COPY_AND_ASSIGN(BookmarkChangeProcessor); 258 DISALLOW_COPY_AND_ASSIGN(BookmarkChangeProcessor);
259 }; 259 };
260 260
261 } // namespace browser_sync 261 } // namespace sync_bookmarks
262 262
263 #endif // COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ 263 #endif // COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698