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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_function_base.cc

Issue 635573005: Cleanup: Better constify some strings in chrome/browser/{chromeos,extensions}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, nit 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
Index: chrome/browser/chromeos/extensions/wallpaper_function_base.cc
diff --git a/chrome/browser/chromeos/extensions/wallpaper_function_base.cc b/chrome/browser/chromeos/extensions/wallpaper_function_base.cc
index 1e100c90dc595aac79d27f5da6d518b203e6a063..11f4a0614a58c55936669d85d53266bffda18459 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_function_base.cc
+++ b/chrome/browser/chromeos/extensions/wallpaper_function_base.cc
@@ -16,7 +16,7 @@ namespace wallpaper_api_util {
namespace {
// Keeps in sync (same order) with WallpaperLayout enum in header file.
-const char* kWallpaperLayoutArrays[] = {
+const char* const kWallpaperLayoutArrays[] = {
"CENTER",
"CENTER_CROPPED",
"STRETCH",
@@ -25,7 +25,7 @@ const char* kWallpaperLayoutArrays[] = {
const int kWallpaperLayoutCount = arraysize(kWallpaperLayoutArrays);
-} // namespace
+} // namespace
const char kCancelWallpaperMessage[] = "Set wallpaper was canceled.";

Powered by Google App Engine
This is Rietveld 408576698