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

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

Issue 105193002: Replace string16 with base::string16. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
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"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 const BookmarkNode* node); 52 const BookmarkNode* node);
53 void ExtractBookmarkNodeInformation( 53 void ExtractBookmarkNodeInformation(
54 const BookmarkNode* node, 54 const BookmarkNode* node,
55 jobject j_result_obj); 55 jobject j_result_obj);
56 const BookmarkNode* GetNodeByID(long node_id, int type); 56 const BookmarkNode* GetNodeByID(long node_id, int type);
57 const BookmarkNode* GetFolderWithFallback(long folder_id, int type); 57 const BookmarkNode* GetFolderWithFallback(long folder_id, int type);
58 // Returns true if |node| can be modified by the user. 58 // Returns true if |node| can be modified by the user.
59 bool IsEditable(const BookmarkNode* node) const; 59 bool IsEditable(const BookmarkNode* node) const;
60 const BookmarkNode* GetParentNode(const BookmarkNode* node); 60 const BookmarkNode* GetParentNode(const BookmarkNode* node);
61 int GetBookmarkType(const BookmarkNode* node); 61 int GetBookmarkType(const BookmarkNode* node);
62 string16 GetTitle(const BookmarkNode* node) const; 62 base::string16 GetTitle(const BookmarkNode* node) const;
63 bool IsReachable(const BookmarkNode* node) const; 63 bool IsReachable(const BookmarkNode* node) const;
64 bool IsLoaded() const; 64 bool IsLoaded() const;
65 bool IsFolderAvailable(const BookmarkNode* folder) const; 65 bool IsFolderAvailable(const BookmarkNode* folder) const;
66 void NotifyIfDoneLoading(); 66 void NotifyIfDoneLoading();
67 67
68 // Override BaseBookmarkModelObserver. 68 // Override BaseBookmarkModelObserver.
69 // Called when there are changes to the bookmark model that don't trigger 69 // Called when there are changes to the bookmark model that don't trigger
70 // any of the other callback methods. For example, this is called when 70 // any of the other callback methods. For example, this is called when
71 // managed or partner bookmarks change. 71 // managed or partner bookmarks change.
72 virtual void BookmarkModelChanged() OVERRIDE; 72 virtual void BookmarkModelChanged() OVERRIDE;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 scoped_ptr<ManagedBookmarksShim> managed_bookmarks_shim_; 106 scoped_ptr<ManagedBookmarksShim> managed_bookmarks_shim_;
107 107
108 // Information about the Partner bookmarks (must check for IsLoaded()). 108 // Information about the Partner bookmarks (must check for IsLoaded()).
109 // This is owned by profile. 109 // This is owned by profile.
110 PartnerBookmarksShim* partner_bookmarks_shim_; 110 PartnerBookmarksShim* partner_bookmarks_shim_;
111 111
112 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge); 112 DISALLOW_COPY_AND_ASSIGN(BookmarksBridge);
113 }; 113 };
114 114
115 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_ 115 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_BOOKMARKS_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/accessibility/accessibility_extension_api.cc ('k') | chrome/browser/android/bookmarks/bookmarks_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698