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

Unified Diff: chrome/browser/android/chrome_startup_flags.cc

Issue 119493005: Expose a low-end device mode override flags for non-android OSs as well (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Put low end device detection under the flag for all platforms except android. Created 6 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
Index: chrome/browser/android/chrome_startup_flags.cc
diff --git a/chrome/browser/android/chrome_startup_flags.cc b/chrome/browser/android/chrome_startup_flags.cc
index e6edaa2b46f4fa0fc95a871c9a78917a16ce06cc..30c03ff7cd940b1e45f7f0518481ff76b0691be5 100644
--- a/chrome/browser/android/chrome_startup_flags.cc
+++ b/chrome/browser/android/chrome_startup_flags.cc
@@ -9,9 +9,9 @@
#include "base/android/jni_android.h"
#include "base/android/jni_string.h"
#include "base/android/scoped_java_ref.h"
-#include "base/android/sys_utils.h"
#include "base/command_line.h"
#include "base/logging.h"
+#include "base/sys_utils.h"
#include "chrome/common/chrome_switches.h"
#include "content/public/common/content_switches.h"
#include "media/base/media_switches.h"
@@ -43,7 +43,7 @@ void SetChromeSpecificCommandLineFlags() {
SetCommandLineSwitchASCII(
switches::kPrerenderFromOmnibox,
switches::kPrerenderFromOmniboxSwitchValueEnabled);
- if (base::android::SysUtils::IsLowEndDevice())
+ if (base::SysUtils::IsLowEndDevice())
SetCommandLineSwitch(switches::kDisableSyncFavicons);
#if defined(GOOGLE_TV)
SetCommandLineSwitch(switches::kPpapiInProcess);

Powered by Google App Engine
This is Rietveld 408576698