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

Unified Diff: components/webdata/common/web_database_service.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 side-by-side diff with in-line comments
Download patch
Index: components/webdata/common/web_database_service.h
diff --git a/components/webdata/common/web_database_service.h b/components/webdata/common/web_database_service.h
index 2c68a3b01058b51a17f7345e9a7b0bccfbb5ac31..e0d3f592fd9d4a724c54acc8e631457afc51f453 100644
--- a/components/webdata/common/web_database_service.h
+++ b/components/webdata/common/web_database_service.h
@@ -50,12 +50,13 @@ class WebDataServiceConsumer;
class WEBDATA_EXPORT WebDatabaseService
: public base::RefCountedDeleteOnMessageLoop<WebDatabaseService> {
public:
- typedef base::Callback<std::unique_ptr<WDTypedResult>(WebDatabase*)> ReadTask;
- typedef base::Callback<WebDatabase::State(WebDatabase*)> WriteTask;
+ using ReadTask = base::Callback<std::unique_ptr<WDTypedResult>(WebDatabase*)>;
+ using WriteTask = base::Callback<WebDatabase::State(WebDatabase*)>;
// Types for managing DB loading callbacks.
- typedef base::Closure DBLoadedCallback;
- typedef base::Callback<void(sql::InitStatus)> DBLoadErrorCallback;
+ using DBLoadedCallback = base::Closure;
+ using DBLoadErrorCallback =
+ base::Callback<void(sql::InitStatus, const std::string&)>;
// Takes the path to the WebDatabase file.
// WebDatabaseService lives on |ui_thread| and posts tasks to |db_thread|.
@@ -124,7 +125,8 @@ class WEBDATA_EXPORT WebDatabaseService
virtual ~WebDatabaseService();
- void OnDatabaseLoadDone(sql::InitStatus status);
+ void OnDatabaseLoadDone(sql::InitStatus status,
+ const std::string& diagnostics);
base::FilePath path_;
« no previous file with comments | « components/webdata/common/web_database_backend.cc ('k') | components/webdata/common/web_database_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698