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

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

Issue 2461463002: [Sync] Replacing NULL with nullptr/null throughout sync code. (Closed)
Patch Set: Reverted PROFILE_nullptr mistake. Created 4 years, 1 month 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 BookmarkModelAssociator* associator); 236 BookmarkModelAssociator* associator);
237 237
238 // Creates or updates a sync node associated with |node|. 238 // Creates or updates a sync node associated with |node|.
239 void CreateOrUpdateSyncNode(const bookmarks::BookmarkNode* node); 239 void CreateOrUpdateSyncNode(const bookmarks::BookmarkNode* node);
240 240
241 // Returns false if |node| should not be synced. 241 // Returns false if |node| should not be synced.
242 bool CanSyncNode(const bookmarks::BookmarkNode* node); 242 bool CanSyncNode(const bookmarks::BookmarkNode* node);
243 243
244 base::ThreadChecker thread_checker_; 244 base::ThreadChecker thread_checker_;
245 245
246 // The bookmark model we are processing changes from. Non-NULL when 246 // The bookmark model we are processing changes from. Non-null when
247 // |running_| is true. 247 // |running_| is true.
248 bookmarks::BookmarkModel* bookmark_model_; 248 bookmarks::BookmarkModel* bookmark_model_;
249 249
250 syncer::SyncClient* sync_client_; 250 syncer::SyncClient* sync_client_;
251 251
252 // The two models should be associated according to this ModelAssociator. 252 // The two models should be associated according to this ModelAssociator.
253 BookmarkModelAssociator* model_associator_; 253 BookmarkModelAssociator* model_associator_;
254 254
255 DISALLOW_COPY_AND_ASSIGN(BookmarkChangeProcessor); 255 DISALLOW_COPY_AND_ASSIGN(BookmarkChangeProcessor);
256 }; 256 };
257 257
258 } // namespace sync_bookmarks 258 } // namespace sync_bookmarks
259 259
260 #endif // COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ 260 #endif // COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_
OLDNEW
« no previous file with comments | « components/browser_sync/test_profile_sync_service.h ('k') | components/sync_bookmarks/bookmark_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698