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

Unified Diff: components/gcm_driver/instance_id/instance_id_impl.cc

Issue 2847923002: [Chromecast] Add method to CastCdm for the session expiration updating. (Closed)
Patch Set: Add InstanceIDFactory class to help with testing. Created 3 years, 5 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/instance_id/instance_id_impl.cc
diff --git a/components/gcm_driver/instance_id/instance_id_impl.cc b/components/gcm_driver/instance_id/instance_id_impl.cc
index 56a0cbed8d2c16e43743480ea3feea22dcd0710c..a0c807bd2a3375fd9b663db3394619828f8fb38d 100644
--- a/components/gcm_driver/instance_id/instance_id_impl.cc
+++ b/components/gcm_driver/instance_id/instance_id_impl.cc
@@ -12,7 +12,6 @@
#include "base/base64.h"
#include "base/bind.h"
#include "base/logging.h"
-#include "base/memory/ptr_util.h"
#include "base/message_loop/message_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/threading/thread_task_runner_handle.h"
@@ -49,13 +48,6 @@ InstanceID::Result GCMClientResultToInstanceIDResult(
} // namespace
-// static
-std::unique_ptr<InstanceID> InstanceID::CreateInternal(
- const std::string& app_id,
- gcm::GCMDriver* gcm_driver) {
- return base::WrapUnique(new InstanceIDImpl(app_id, gcm_driver));
-}
-
InstanceIDImpl::InstanceIDImpl(const std::string& app_id,
gcm::GCMDriver* gcm_driver)
: InstanceID(app_id, gcm_driver), weak_ptr_factory_(this) {
« no previous file with comments | « components/gcm_driver/instance_id/instance_id_factory.h ('k') | components/gcm_driver/instance_id/instance_id_impl_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698