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

Unified Diff: components/arc/test/fake_app_instance.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: Created 4 years, 12 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: components/arc/test/fake_app_instance.cc
diff --git a/components/arc/test/fake_app_instance.cc b/components/arc/test/fake_app_instance.cc
index 15a49c7456257163cf68badbc0764c281d1f76ab..c36b82ad95bd9938039b5c76b8e0d2b65750454e 100644
--- a/components/arc/test/fake_app_instance.cc
+++ b/components/arc/test/fake_app_instance.cc
@@ -56,31 +56,31 @@ bool FakeAppInstance::GenerateAndSendIcon(const AppInfo& app,
CHECK(png_data_as_string != nullptr);
std::string icon_file_name;
switch (scale_factor) {
- case SCALE_FACTOR_SCALE_FACTOR_100P:
+ case ScaleFactor::SCALE_FACTOR_100P:
icon_file_name = "icon_100p.png";
break;
- case SCALE_FACTOR_SCALE_FACTOR_125P:
+ case ScaleFactor::SCALE_FACTOR_125P:
icon_file_name = "icon_125p.png";
break;
- case SCALE_FACTOR_SCALE_FACTOR_133P:
+ case ScaleFactor::SCALE_FACTOR_133P:
icon_file_name = "icon_133p.png";
break;
- case SCALE_FACTOR_SCALE_FACTOR_140P:
+ case ScaleFactor::SCALE_FACTOR_140P:
icon_file_name = "icon_140p.png";
break;
- case SCALE_FACTOR_SCALE_FACTOR_150P:
+ case ScaleFactor::SCALE_FACTOR_150P:
icon_file_name = "icon_150p.png";
break;
- case SCALE_FACTOR_SCALE_FACTOR_180P:
+ case ScaleFactor::SCALE_FACTOR_180P:
icon_file_name = "icon_180p.png";
break;
- case SCALE_FACTOR_SCALE_FACTOR_200P:
+ case ScaleFactor::SCALE_FACTOR_200P:
icon_file_name = "icon_200p.png";
break;
- case SCALE_FACTOR_SCALE_FACTOR_250P:
+ case ScaleFactor::SCALE_FACTOR_250P:
icon_file_name = "icon_250p.png";
break;
- case SCALE_FACTOR_SCALE_FACTOR_300P:
+ case ScaleFactor::SCALE_FACTOR_300P:
icon_file_name = "icon_300p.png";
break;
default:

Powered by Google App Engine
This is Rietveld 408576698