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

Unified Diff: chrome/browser/profiles/sql_init_error_message_ids.h

Issue 2225333003: Recreate the WebData database on a catastrophic SQL error (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo 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: chrome/browser/profiles/sql_init_error_message_ids.h
diff --git a/chrome/browser/profiles/sql_init_error_message_ids.h b/chrome/browser/profiles/sql_init_error_message_ids.h
new file mode 100644
index 0000000000000000000000000000000000000000..d8860ced164eb34eaafabb1d6b473dcc90028f8d
--- /dev/null
+++ b/chrome/browser/profiles/sql_init_error_message_ids.h
@@ -0,0 +1,14 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_PROFILES_SQL_INIT_ERROR_MESSAGE_IDS_H_
+#define CHROME_BROWSER_PROFILES_SQL_INIT_ERROR_MESSAGE_IDS_H_
+
+#include "sql/init_status.h"
+
+// Gets the ID of the localized error message that will be shown in the profile
+// error dialog which corresponds to the SQL initialization |status|.
+int SqlInitStatusToMessageId(sql::InitStatus status);
+
+#endif // CHROME_BROWSER_PROFILES_SQL_INIT_ERROR_MESSAGE_IDS_H_
« no previous file with comments | « chrome/browser/history/chrome_history_client.cc ('k') | chrome/browser/profiles/sql_init_error_message_ids.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698