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

Unified Diff: components/gcm_driver/gcm_driver_desktop.h

Issue 551163002: [GCM] Extracting Delayed Task Controller from GCMDesktopDriver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: components/gcm_driver/gcm_driver_desktop.h
diff --git a/components/gcm_driver/gcm_driver_desktop.h b/components/gcm_driver/gcm_driver_desktop.h
index 04bc22d15a9832934e833f50b3e1ac3d12cfa6c1..3199a48ae46903e68434b441a7e80a0ba0503519 100644
--- a/components/gcm_driver/gcm_driver_desktop.h
+++ b/components/gcm_driver/gcm_driver_desktop.h
@@ -36,6 +36,7 @@ namespace gcm {
class GCMAppHandler;
class GCMClientFactory;
+class GCMDelayedTaskController;
// GCMDriver implementation for desktop and Chrome OS, using GCMClient.
class GCMDriverDesktop : public GCMDriver {
@@ -94,7 +95,6 @@ class GCMDriverDesktop : public GCMDriver {
const GCMClient::OutgoingMessage& message) OVERRIDE;
private:
- class DelayedTaskController;
class IOWorker;
// Stops the GCM service. It can be restarted by calling EnsureStarted again.
@@ -146,7 +146,7 @@ class GCMDriverDesktop : public GCMDriver {
scoped_refptr<base::SequencedTaskRunner> ui_thread_;
scoped_refptr<base::SequencedTaskRunner> io_thread_;
- scoped_ptr<DelayedTaskController> delayed_task_controller_;
+ scoped_ptr<GCMDelayedTaskController> delayed_task_controller_;
// For all the work occurring on the IO thread. Must be destroyed on the IO
// thread.
« no previous file with comments | « components/gcm_driver/gcm_delayed_task_controller_unittest.cc ('k') | components/gcm_driver/gcm_driver_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698