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

Unified Diff: extensions/common/permissions/permission_message.h

Issue 286933006: Implement a JavaScript API for document scanning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Starting over. This used to be 286933006 Created 6 years, 2 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 | « extensions/common/permissions/api_permission.h ('k') | extensions/extensions_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/permissions/permission_message.h
diff --git a/extensions/common/permissions/permission_message.h b/extensions/common/permissions/permission_message.h
index 25eda755860ae55ed7c44e23d66aee4b3a627952..2df53e3b0e7a8c18394550eb18ac3c93229ff215 100644
--- a/extensions/common/permissions/permission_message.h
+++ b/extensions/common/permissions/permission_message.h
@@ -90,6 +90,9 @@ class PermissionMessage {
kCopresence,
kTopSites,
kU2fDevices,
+ kDocumentScan,
+ // Last entry: Add new entries above and ensure to update the
+ // "ExtensionPermission2" enum in tools/metrics/histograms/histograms.xml.
kEnumBoundary,
};
COMPILE_ASSERT(PermissionMessage::kNone > PermissionMessage::kUnknown,
« no previous file with comments | « extensions/common/permissions/api_permission.h ('k') | extensions/extensions_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698