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

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

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit 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 | « chrome/browser/DEPS ('k') | chrome/browser/android/bookmarks/bookmarks_bridge.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 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 "components/bookmarks/core/browser/base_bookmark_model_observer.h" 16 #include "components/bookmarks/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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 scoped_ptr<ManagedBookmarksShim> managed_bookmarks_shim_; 114 scoped_ptr<ManagedBookmarksShim> managed_bookmarks_shim_;
115 115
116 // Information about the Partner bookmarks (must check for IsLoaded()). 116 // Information about the Partner bookmarks (must check for IsLoaded()).
117 // This is owned by profile. 117 // This is owned by profile.
118 PartnerBookmarksShim* partner_bookmarks_shim_; 118 PartnerBookmarksShim* partner_bookmarks_shim_;
119 119
120 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); 120 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge);
121 }; 121 };
122 122
123 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ 123 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/android/bookmarks/bookmarks_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698