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

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

Issue 1314903004: Sync: Refactoring DataTypeController to make the design shareable with USS datatypes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed CR comments Created 5 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
« no previous file with comments | « no previous file | chrome/browser/sync/glue/bookmark_model_associator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BOOKMARK_MODEL_ASSOCIATOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_
6 #define CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <stack> 10 #include <stack>
11 #include <string> 11 #include <string>
12 #include <vector>
12 13
13 #include "base/basictypes.h" 14 #include "base/basictypes.h"
14 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
15 #include "base/hash.h" 16 #include "base/hash.h"
16 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
17 #include "components/sync_driver/data_type_controller.h"
18 #include "components/sync_driver/data_type_error_handler.h" 18 #include "components/sync_driver/data_type_error_handler.h"
19 #include "components/sync_driver/model_associator.h" 19 #include "components/sync_driver/model_associator.h"
20 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" 20 #include "sync/internal_api/public/util/unrecoverable_error_handler.h"
21 21
22 class Profile; 22 class Profile;
23 class GURL; 23 class GURL;
24 24
25 namespace bookmarks { 25 namespace bookmarks {
26 class BookmarkModel; 26 class BookmarkModel;
27 class BookmarkNode; 27 class BookmarkNode;
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // guarantees no invocations can occur if |this| has been deleted. (This 314 // guarantees no invocations can occur if |this| has been deleted. (This
315 // allows this class to be non-refcounted). 315 // allows this class to be non-refcounted).
316 base::WeakPtrFactory<BookmarkModelAssociator> weak_factory_; 316 base::WeakPtrFactory<BookmarkModelAssociator> weak_factory_;
317 317
318 DISALLOW_COPY_AND_ASSIGN(BookmarkModelAssociator); 318 DISALLOW_COPY_AND_ASSIGN(BookmarkModelAssociator);
319 }; 319 };
320 320
321 } // namespace browser_sync 321 } // namespace browser_sync
322 322
323 #endif // CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_ 323 #endif // CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/bookmark_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698