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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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
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_PARTNER_BOOKMARKS_SHIM_H_ 5 #ifndef CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_SHIM_H_
6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_SHIM_H_ 6 #define CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_SHIM_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/android/jni_weak_ref.h" 12 #include "base/android/jni_weak_ref.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "base/supports_user_data.h" 15 #include "base/supports_user_data.h"
16 #include "components/bookmarks/browser/bookmark_model.h" 16 #include "components/bookmarks/browser/bookmark_model.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 class PrefService; 19 class PrefService;
20 20
21 namespace content { 21 namespace content {
22 class BrowserContext; 22 class BrowserContext;
23 class WebContents;
24 } 23 }
25 24
26 namespace user_prefs { 25 namespace user_prefs {
27 class PrefRegistrySyncable; 26 class PrefRegistrySyncable;
28 } 27 }
29 28
30 // A shim that lives on top of a BookmarkModel that allows the injection of 29 // A shim that lives on top of a BookmarkModel that allows the injection of
31 // partner bookmarks without submitting changes to the bookmark model. 30 // partner bookmarks without submitting changes to the bookmark model.
32 // The shim persists bookmark renames/deletions in a user profile and could be 31 // The shim persists bookmark renames/deletions in a user profile and could be
33 // queried via shim->GetTitle(node) and shim->IsReachable(node). 32 // queried via shim->GetTitle(node) and shim->IsReachable(node).
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 PrefService* prefs_; 138 PrefService* prefs_;
140 NodeRenamingMap node_rename_remove_map_; 139 NodeRenamingMap node_rename_remove_map_;
141 140
142 // The observers. 141 // The observers.
143 base::ObserverList<Observer> observers_; 142 base::ObserverList<Observer> observers_;
144 143
145 DISALLOW_COPY_AND_ASSIGN(PartnerBookmarksShim); 144 DISALLOW_COPY_AND_ASSIGN(PartnerBookmarksShim);
146 }; 145 };
147 146
148 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_SHIM_H_ 147 #endif // CHROME_BROWSER_ANDROID_BOOKMARKS_PARTNER_BOOKMARKS_SHIM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698