Cleanup: Remove more unused flag resources or mark them as platform-specific.
Review URL: https://codereview.chromium.org/290463002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271597 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 4515540..cc92fea 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -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