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

Unified Diff: ash/accelerators/debug_commands.cc

Issue 1022333002: Initial CL for Data Saver (Flywheel) prompt when cellular network detected (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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: ash/accelerators/debug_commands.cc
diff --git a/ash/accelerators/debug_commands.cc b/ash/accelerators/debug_commands.cc
index 5ce0c7c40d9f8f1fc20421ffe74bec59ddab4fc3..5910a6d0885cda4b193eade508571bb05cde9091 100644
--- a/ash/accelerators/debug_commands.cc
+++ b/ash/accelerators/debug_commands.cc
@@ -15,6 +15,7 @@
#include "ash/shell.h"
#include "ash/wm/window_util.h"
#include "base/command_line.h"
+#include "chromeos/network/network_state_handler.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "ui/aura/window.h"
@@ -170,6 +171,10 @@ void PerformDebugActionIfEnabled(AcceleratorAction action) {
case DEBUG_TOGGLE_SHOW_DEBUG_BORDERS:
ToggleShowDebugBorders();
break;
+ case DEBUG_TOGGLE_SHOW_DATASAVER_PROMPT:
Daniel Erat 2015/03/23 03:49:20 alphabetization
Greg Levin 2015/03/24 20:35:32 Done.
+ chromeos::NetworkHandler::Get()->network_state_handler()
+ ->DebugNotifyNetworkPropertiesUpdated();
+ break;
case DEBUG_TOGGLE_SHOW_FPS_COUNTER:
ToggleShowFpsCounter();
break;

Powered by Google App Engine
This is Rietveld 408576698