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

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: rebase Created 4 years, 11 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 | « components/arc/test/fake_app_instance.h ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2ea1ff0255e0e529c187991612e32f6341a9a144..2b3041b8961958902b458d6f2b9093bc6e27c929 100644
--- a/components/arc/test/fake_app_instance.cc
+++ b/components/arc/test/fake_app_instance.cc
@@ -57,31 +57,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:
« no previous file with comments | « components/arc/test/fake_app_instance.h ('k') | components/bitmap_uploader/bitmap_uploader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698