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

Side by Side Diff: chrome/browser/history/chrome_history_client.h

Issue 2107493002: Offer user to send feedback from profile error dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet more compile errors Created 4 years, 5 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_HISTORY_CHROME_HISTORY_CLIENT_H_ 5 #ifndef CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_
6 #define CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_ 6 #define CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 16 matching lines...) Expand all
27 public bookmarks::BaseBookmarkModelObserver { 27 public bookmarks::BaseBookmarkModelObserver {
28 public: 28 public:
29 explicit ChromeHistoryClient(bookmarks::BookmarkModel* bookmark_model); 29 explicit ChromeHistoryClient(bookmarks::BookmarkModel* bookmark_model);
30 ~ChromeHistoryClient() override; 30 ~ChromeHistoryClient() override;
31 31
32 // history::HistoryClient implementation. 32 // history::HistoryClient implementation.
33 void OnHistoryServiceCreated( 33 void OnHistoryServiceCreated(
34 history::HistoryService* history_service) override; 34 history::HistoryService* history_service) override;
35 void Shutdown() override; 35 void Shutdown() override;
36 bool CanAddURL(const GURL& url) override; 36 bool CanAddURL(const GURL& url) override;
37 void NotifyProfileError(sql::InitStatus init_status) override; 37 void NotifyProfileError(
38 sql::InitStatus init_status,
39 const sql::DatabaseDiagnosticMap& diagnostics) override;
38 std::unique_ptr<history::HistoryBackendClient> CreateBackendClient() override; 40 std::unique_ptr<history::HistoryBackendClient> CreateBackendClient() override;
39 41
40 private: 42 private:
41 // bookmarks::BaseBookmarkModelObserver implementation. 43 // bookmarks::BaseBookmarkModelObserver implementation.
42 void BookmarkModelChanged() override; 44 void BookmarkModelChanged() override;
43 45
44 // bookmarks::BookmarkModelObserver implementation. 46 // bookmarks::BookmarkModelObserver implementation.
45 void BookmarkNodeRemoved(bookmarks::BookmarkModel* bookmark_model, 47 void BookmarkNodeRemoved(bookmarks::BookmarkModel* bookmark_model,
46 const bookmarks::BookmarkNode* parent, 48 const bookmarks::BookmarkNode* parent,
47 int old_index, 49 int old_index,
(...skipping 12 matching lines...) Expand all
60 62
61 // Subscription for notifications of changes to favicons. 63 // Subscription for notifications of changes to favicons.
62 std::unique_ptr<base::CallbackList<void(const std::set<GURL>&, 64 std::unique_ptr<base::CallbackList<void(const std::set<GURL>&,
63 const GURL&)>::Subscription> 65 const GURL&)>::Subscription>
64 favicons_changed_subscription_; 66 favicons_changed_subscription_;
65 67
66 DISALLOW_COPY_AND_ASSIGN(ChromeHistoryClient); 68 DISALLOW_COPY_AND_ASSIGN(ChromeHistoryClient);
67 }; 69 };
68 70
69 #endif // CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_ 71 #endif // CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698