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

Side by Side Diff: chrome/browser/bookmarks/chrome_bookmark_client.h

Issue 2185973003: [Offline Pages] Delete associated page along with bookmark. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding offline_pages::ExternalListener. Created 4 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 6 #define CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
7 7
8 #include <memory>
8 #include <set> 9 #include <set>
9 #include <vector> 10 #include <vector>
10 11
11 #include "base/deferred_sequenced_task_runner.h" 12 #include "base/deferred_sequenced_task_runner.h"
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "components/bookmarks/browser/bookmark_client.h" 14 #include "components/bookmarks/browser/bookmark_client.h"
14 15
15 class GURL; 16 class GURL;
16 class Profile; 17 class Profile;
17 18
18 namespace base { 19 namespace base {
19 class ListValue; 20 class ListValue;
20 } 21 }
21 22
22 namespace bookmarks { 23 namespace bookmarks {
23 class BookmarkModel; 24 class BookmarkModel;
24 class BookmarkNode; 25 class BookmarkNode;
25 class BookmarkPermanentNode; 26 class BookmarkPermanentNode;
26 class ManagedBookmarkService; 27 class ManagedBookmarkService;
27 } 28 }
28 29
30 namespace offline_pages {
Dmitry Titov 2016/08/12 05:43:43 are there changes in this class?
romax 2016/08/16 19:05:44 i think this thing was left behind. deleted.
31 class ExternalListener;
32 }
33
29 class ChromeBookmarkClient : public bookmarks::BookmarkClient { 34 class ChromeBookmarkClient : public bookmarks::BookmarkClient {
30 public: 35 public:
31 ChromeBookmarkClient( 36 ChromeBookmarkClient(
32 Profile* profile, 37 Profile* profile,
33 bookmarks::ManagedBookmarkService* managed_bookmark_service); 38 bookmarks::ManagedBookmarkService* managed_bookmark_service);
34 ~ChromeBookmarkClient() override; 39 ~ChromeBookmarkClient() override;
35 40
36 // bookmarks::BookmarkClient: 41 // bookmarks::BookmarkClient:
37 void Init(bookmarks::BookmarkModel* model) override; 42 void Init(bookmarks::BookmarkModel* model) override;
38 bool PreferTouchIcon() override; 43 bool PreferTouchIcon() override;
(...skipping 20 matching lines...) Expand all
59 Profile* profile_; 64 Profile* profile_;
60 65
61 // Pointer to the ManagedBookmarkService responsible for bookmark policy. May 66 // Pointer to the ManagedBookmarkService responsible for bookmark policy. May
62 // be null during testing. 67 // be null during testing.
63 bookmarks::ManagedBookmarkService* managed_bookmark_service_; 68 bookmarks::ManagedBookmarkService* managed_bookmark_service_;
64 69
65 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient); 70 DISALLOW_COPY_AND_ASSIGN(ChromeBookmarkClient);
66 }; 71 };
67 72
68 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_ 73 #endif // CHROME_BROWSER_BOOKMARKS_CHROME_BOOKMARK_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698