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

Unified Diff: content/browser/notifications/notification_database.h

Issue 2083973002: Add InvalidArgument error type for NotificationDatabase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update invalid argument error in histograms enum. Created 4 years, 6 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
« no previous file with comments | « no previous file | content/browser/notifications/notification_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/notifications/notification_database.h
diff --git a/content/browser/notifications/notification_database.h b/content/browser/notifications/notification_database.h
index 00fae877dae125856affdd46707b08559227d108..5cc9ea93a27d82e50039795a1f8f63293b875ab8 100644
--- a/content/browser/notifications/notification_database.h
+++ b/content/browser/notifications/notification_database.h
@@ -61,9 +61,12 @@ class CONTENT_EXPORT NotificationDatabase {
// leveldb operation not supported
STATUS_NOT_SUPPORTED = 5,
+ // Invalid database ID or snapshot ID provided.
+ STATUS_INVALID_ARGUMENT = 6,
+
// Number of entries in the status enumeration. Used by UMA. Must always be
// one higher than the otherwise highest value in this enumeration.
- STATUS_COUNT = 6
+ STATUS_COUNT = 7
};
explicit NotificationDatabase(const base::FilePath& path);
« no previous file with comments | « no previous file | content/browser/notifications/notification_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698