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

Side by Side Diff: chrome/browser/android/bookmarks/bookmarks_bridge.h

Issue 256083003: Move bookmark_model_observer.h to the bookmarks component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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/android/provider/bookmark_model_observer_task.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BOOKMARKS_BOOKMARKS_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_
6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ 6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
11 #include "base/android/jni_weak_ref.h" 11 #include "base/android/jni_weak_ref.h"
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "chrome/browser/android/bookmarks/managed_bookmarks_shim.h" 14 #include "chrome/browser/android/bookmarks/managed_bookmarks_shim.h"
15 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h" 15 #include "chrome/browser/android/bookmarks/partner_bookmarks_shim.h"
16 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" 16 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 // The delegate to fetch bookmarks information for the Android native 20 // The delegate to fetch bookmarks information for the Android native
21 // bookmark page. This fetches the bookmarks, title, urls, folder 21 // bookmark page. This fetches the bookmarks, title, urls, folder
22 // hierarchy. 22 // hierarchy.
23 class BookmarksBridge : public BaseBookmarkModelObserver, 23 class BookmarksBridge : public BaseBookmarkModelObserver,
24 public ManagedBookmarksShim::Observer, 24 public ManagedBookmarksShim::Observer,
25 public PartnerBookmarksShim::Observer { 25 public PartnerBookmarksShim::Observer {
26 public: 26 public:
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 scoped_ptr<ManagedBookmarksShim> managed_bookmarks_shim_; 113 scoped_ptr<ManagedBookmarksShim> managed_bookmarks_shim_;
114 114
115 // Information about the Partner bookmarks (must check for IsLoaded()). 115 // Information about the Partner bookmarks (must check for IsLoaded()).
116 // This is owned by profile. 116 // This is owned by profile.
117 PartnerBookmarksShim* partner_bookmarks_shim_; 117 PartnerBookmarksShim* partner_bookmarks_shim_;
118 118
119 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); 119 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge);
120 }; 120 };
121 121
122 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ 122 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/android/provider/bookmark_model_observer_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698