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

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: pkasting's & droger's 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_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(sql::InitStatus init_status,
38 const std::string& diagnostics) override;
38 std::unique_ptr<history::HistoryBackendClient> CreateBackendClient() override; 39 std::unique_ptr<history::HistoryBackendClient> CreateBackendClient() override;
39 40
40 private: 41 private:
41 // bookmarks::BaseBookmarkModelObserver implementation. 42 // bookmarks::BaseBookmarkModelObserver implementation.
42 void BookmarkModelChanged() override; 43 void BookmarkModelChanged() override;
43 44
44 // bookmarks::BookmarkModelObserver implementation. 45 // bookmarks::BookmarkModelObserver implementation.
45 void BookmarkNodeRemoved(bookmarks::BookmarkModel* bookmark_model, 46 void BookmarkNodeRemoved(bookmarks::BookmarkModel* bookmark_model,
46 const bookmarks::BookmarkNode* parent, 47 const bookmarks::BookmarkNode* parent,
47 int old_index, 48 int old_index,
(...skipping 12 matching lines...) Expand all
60 61
61 // Subscription for notifications of changes to favicons. 62 // Subscription for notifications of changes to favicons.
62 std::unique_ptr<base::CallbackList<void(const std::set<GURL>&, 63 std::unique_ptr<base::CallbackList<void(const std::set<GURL>&,
63 const GURL&)>::Subscription> 64 const GURL&)>::Subscription>
64 favicons_changed_subscription_; 65 favicons_changed_subscription_;
65 66
66 DISALLOW_COPY_AND_ASSIGN(ChromeHistoryClient); 67 DISALLOW_COPY_AND_ASSIGN(ChromeHistoryClient);
67 }; 68 };
68 69
69 #endif // CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_ 70 #endif // CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/android/android_provider_backend_unittest.cc ('k') | chrome/browser/history/chrome_history_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698