Index: chrome/browser/sql_init_error_message_ids.h |
diff --git a/chrome/browser/sql_init_error_message_ids.h b/chrome/browser/sql_init_error_message_ids.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1caa92125d415589369130583ad9d055f7b731c7 |
--- /dev/null |
+++ b/chrome/browser/sql_init_error_message_ids.h |
@@ -0,0 +1,14 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
Lei Zhang
2016/08/19 18:15:02
Is there no appropriate chrome/browser/foo sub-dir
afakhry
2016/08/19 20:07:50
Couldn't find any suitable one. :(
afakhry
2016/08/20 00:54:11
Any suggestions though?
Lei Zhang
2016/08/20 01:17:52
c/b/profiles maybe?
afakhry
2016/08/20 02:00:02
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_SQL_INIT_ERROR_MESSAGE_IDS_H_ |
+#define CHROME_BROWSER_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_SQL_INIT_ERROR_MESSAGE_IDS_H_ |