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

Side by Side Diff: chrome/browser/android/provider/bookmark_model_observer_task.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 CHROME_BROWSER_ANDROID_PROVIDER_BOOKMARK_MODEL_OBSERVER_TASK_H_ 5 #ifndef CHROME_BROWSER_ANDROID_PROVIDER_BOOKMARK_MODEL_OBSERVER_TASK_H_
6 #define CHROME_BROWSER_ANDROID_PROVIDER_BOOKMARK_MODEL_OBSERVER_TASK_H_ 6 #define CHROME_BROWSER_ANDROID_PROVIDER_BOOKMARK_MODEL_OBSERVER_TASK_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "components/bookmarks/browser/bookmark_model_observer.h" 10 #include "components/bookmarks/browser/bookmark_model_observer.h"
11 11
12 // Base class for synchronous tasks that involve the bookmark model. 12 // Base class for synchronous tasks that involve the bookmark model.
13 // Ensures the model has been loaded before accessing it. 13 // Ensures the model has been loaded before accessing it.
14 // Must not be created from the UI thread. 14 // Must not be created from the UI thread.
15 class BookmarkModelTask { 15 class BookmarkModelTask {
16 public: 16 public:
17 explicit BookmarkModelTask(bookmarks::BookmarkModel* model); 17 explicit BookmarkModelTask(bookmarks::BookmarkModel* model);
18 bookmarks::BookmarkModel* model() const; 18 bookmarks::BookmarkModel* model() const;
19 19
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const bookmarks::BookmarkNode* node) override; 54 const bookmarks::BookmarkNode* node) override;
55 void BookmarkNodeChildrenReordered( 55 void BookmarkNodeChildrenReordered(
56 bookmarks::BookmarkModel* model, 56 bookmarks::BookmarkModel* model,
57 const bookmarks::BookmarkNode* node) override; 57 const bookmarks::BookmarkNode* node) override;
58 58
59 private: 59 private:
60 DISALLOW_COPY_AND_ASSIGN(BookmarkModelObserverTask); 60 DISALLOW_COPY_AND_ASSIGN(BookmarkModelObserverTask);
61 }; 61 };
62 62
63 #endif // CHROME_BROWSER_ANDROID_PROVIDER_BOOKMARK_MODEL_OBSERVER_TASK_H_ 63 #endif // CHROME_BROWSER_ANDROID_PROVIDER_BOOKMARK_MODEL_OBSERVER_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698