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

Side by Side Diff: ios/chrome/browser/history/history_client_impl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ 5 #ifndef IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_
6 #define IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ 6 #define IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 15 matching lines...) Expand all
26 public: 26 public:
27 explicit HistoryClientImpl(bookmarks::BookmarkModel* bookmark_model); 27 explicit HistoryClientImpl(bookmarks::BookmarkModel* bookmark_model);
28 ~HistoryClientImpl() override; 28 ~HistoryClientImpl() override;
29 29
30 private: 30 private:
31 // history::HistoryClient implementation. 31 // history::HistoryClient implementation.
32 void OnHistoryServiceCreated( 32 void OnHistoryServiceCreated(
33 history::HistoryService* history_service) override; 33 history::HistoryService* history_service) override;
34 void Shutdown() override; 34 void Shutdown() override;
35 bool CanAddURL(const GURL& url) override; 35 bool CanAddURL(const GURL& url) override;
36 void NotifyProfileError(sql::InitStatus init_status) override; 36 void NotifyProfileError(sql::InitStatus init_status,
37 const std::string& diagnostics) override;
37 std::unique_ptr<history::HistoryBackendClient> CreateBackendClient() override; 38 std::unique_ptr<history::HistoryBackendClient> CreateBackendClient() override;
38 39
39 // bookmarks::BaseBookmarkModelObserver implementation. 40 // bookmarks::BaseBookmarkModelObserver implementation.
40 void BookmarkModelChanged() override; 41 void BookmarkModelChanged() override;
41 42
42 // bookmarks::BookmarkModelObserver implementation. 43 // bookmarks::BookmarkModelObserver implementation.
43 void BookmarkNodeRemoved(bookmarks::BookmarkModel* model, 44 void BookmarkNodeRemoved(bookmarks::BookmarkModel* model,
44 const bookmarks::BookmarkNode* parent, 45 const bookmarks::BookmarkNode* parent,
45 int old_index, 46 int old_index,
46 const bookmarks::BookmarkNode* node, 47 const bookmarks::BookmarkNode* node,
(...skipping 11 matching lines...) Expand all
58 59
59 // Subscription for notifications of changes to favicons. 60 // Subscription for notifications of changes to favicons.
60 std::unique_ptr<base::CallbackList<void(const std::set<GURL>&, 61 std::unique_ptr<base::CallbackList<void(const std::set<GURL>&,
61 const GURL&)>::Subscription> 62 const GURL&)>::Subscription>
62 favicons_changed_subscription_; 63 favicons_changed_subscription_;
63 64
64 DISALLOW_COPY_AND_ASSIGN(HistoryClientImpl); 65 DISALLOW_COPY_AND_ASSIGN(HistoryClientImpl);
65 }; 66 };
66 67
67 #endif // IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ 68 #endif // IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/browser_state/test_chrome_browser_state.mm ('k') | ios/chrome/browser/history/history_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698