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

Unified Diff: chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc

Issue 188293005: [SyncFS] Add UMAs to track syncfs usage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | chrome/browser/sync_file_system/conflict_resolution_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc
diff --git a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc
index 7398440d62aa5171068e790ee766c98981bc690c..724b6893fc8ff31d918f08d317765637b22bd97b 100644
--- a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc
+++ b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.cc
@@ -97,6 +97,9 @@ ConflictResolutionPolicyToExtensionEnum(
return api::sync_file_system::CONFLICT_RESOLUTION_POLICY_LAST_WRITE_WIN;
case sync_file_system::CONFLICT_RESOLUTION_POLICY_MANUAL:
return api::sync_file_system::CONFLICT_RESOLUTION_POLICY_MANUAL;
+ case sync_file_system::CONFLICT_RESOLUTION_POLICY_MAX:
+ NOTREACHED();
+ return api::sync_file_system::CONFLICT_RESOLUTION_POLICY_NONE;
}
NOTREACHED() << "Invalid conflict resolution policy: " << policy;
return api::sync_file_system::CONFLICT_RESOLUTION_POLICY_NONE;
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/conflict_resolution_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698