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

Unified Diff: chrome/browser/about_flags.cc

Issue 290463002: Cleanup: Remove more unused flag resources or mark them as platform-specific. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
===================================================================
--- chrome/browser/about_flags.cc (revision 271553)
+++ chrome/browser/about_flags.cc (working copy)
@@ -9,7 +9,6 @@
#include <set>
#include <utility>
-#include "ash/ash_switches.h"
#include "base/command_line.h"
#include "base/memory/singleton.h"
#include "base/stl_util.h"
@@ -100,7 +99,7 @@
CommandLine::StringType GetSwitchString(const std::string& flag) {
CommandLine cmd_line(CommandLine::NO_PROGRAM);
cmd_line.AppendSwitch(flag);
- DCHECK(cmd_line.argv().size() == 2);
+ DCHECK_EQ(2U, cmd_line.argv().size());
return cmd_line.argv()[1];
}
@@ -1217,12 +1216,12 @@
kOsDesktop,
MULTI_VALUE_TYPE(kLCDTextChoices)
},
-#ifndef USE_AURA
+#if defined(OS_ANDROID) || defined(OS_MACOSX)
{
"delegated-renderer",
IDS_FLAGS_DELEGATED_RENDERER_NAME,
IDS_FLAGS_DELEGATED_RENDERER_DESCRIPTION,
- kOsAndroid,
+ kOsAndroid, // TODO(ccameron) Add mac support soon.
MULTI_VALUE_TYPE(kDelegatedRendererChoices)
},
#endif
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698