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

Side by Side Diff: components/gcm_driver/instance_id/instance_id_impl_factory.h

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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_FACTORY_H_
6 #define COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_FACTORY_H_
7
8 #include "base/macros.h"
9 #include "components/gcm_driver/instance_id/instance_id_factory.h"
10
11 namespace instance_id {
12
13 class InstanceIDImplFactory : public InstanceIDFactory {
14 public:
15 InstanceIDImplFactory() = default;
16 ~InstanceIDImplFactory() override = default;
17
18 std::unique_ptr<InstanceID> Create(const std::string& app_id,
19 gcm::GCMDriver* gcm_driver) override;
20
21 private:
22 DISALLOW_COPY_AND_ASSIGN(InstanceIDImplFactory);
23 };
24
25 } // namespace instance_id
26
27 #endif // COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_FACTORY_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/instance_id/instance_id_impl.cc ('k') | components/gcm_driver/instance_id/instance_id_impl_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698