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

Unified Diff: chrome/browser/ui/webui/offline/offline_internals_ui_message_handler.h

Issue 2820263002: [Offline Prefetch] Create a new JobScheduler task to wake up for net activity. (Closed)
Patch Set: tommycli@ comments. Created 3 years, 8 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/ui/webui/offline/offline_internals_ui_message_handler.h
diff --git a/chrome/browser/ui/webui/offline/offline_internals_ui_message_handler.h b/chrome/browser/ui/webui/offline/offline_internals_ui_message_handler.h
index d79ad5890d7459ce52819586797853c62936d34c..2dba260b69eb840bace8fe76180435a5d99aba46 100644
--- a/chrome/browser/ui/webui/offline/offline_internals_ui_message_handler.h
+++ b/chrome/browser/ui/webui/offline/offline_internals_ui_message_handler.h
@@ -59,6 +59,12 @@ class OfflineInternalsUIMessageHandler : public content::WebUIMessageHandler {
// Load whether device is currently offline.
void HandleGetNetworkStatus(const base::ListValue* args);
+ // Schedules an NWake signal.
+ void HandleScheduleNwake(const base::ListValue* args);
+
+ // Cancels an NWake signal.
+ void HandleCancelNwake(const base::ListValue* args);
+
// Callback for async GetAllPages calls.
void HandleStoredPagesCallback(
std::string callback_id,

Powered by Google App Engine
This is Rietveld 408576698