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

Side by Side Diff: components/history/core/test/history_client_fake_bookmarks.cc

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 #include "components/history/core/test/history_client_fake_bookmarks.h" 5 #include "components/history/core/test/history_client_fake_bookmarks.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 } 172 }
173 173
174 void HistoryClientFakeBookmarks::Shutdown() { 174 void HistoryClientFakeBookmarks::Shutdown() {
175 } 175 }
176 176
177 bool HistoryClientFakeBookmarks::CanAddURL(const GURL& url) { 177 bool HistoryClientFakeBookmarks::CanAddURL(const GURL& url) {
178 return url.is_valid(); 178 return url.is_valid();
179 } 179 }
180 180
181 void HistoryClientFakeBookmarks::NotifyProfileError( 181 void HistoryClientFakeBookmarks::NotifyProfileError(
182 sql::InitStatus init_status) { 182 sql::InitStatus init_status,
183 } 183 const std::string& diagnostics) {}
184 184
185 std::unique_ptr<HistoryBackendClient> 185 std::unique_ptr<HistoryBackendClient>
186 HistoryClientFakeBookmarks::CreateBackendClient() { 186 HistoryClientFakeBookmarks::CreateBackendClient() {
187 return base::WrapUnique(new HistoryBackendClientFakeBookmarks(bookmarks_)); 187 return base::WrapUnique(new HistoryBackendClientFakeBookmarks(bookmarks_));
188 } 188 }
189 189
190 } // namespace history 190 } // namespace history
OLDNEW
« no previous file with comments | « components/history/core/test/history_client_fake_bookmarks.h ('k') | components/webdata/common/web_data_service_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698