Index: chrome/browser/services/gcm/instance_id/instance_id_profile_service.h |
diff --git a/chrome/browser/services/gcm/instance_id/instance_id_profile_service.h b/chrome/browser/services/gcm/instance_id/instance_id_profile_service.h |
index a2faeacf7a7330c20a602bef3995633c3075b955..c243378770b6eae9911e076834ee9288d5f1613e 100644 |
--- a/chrome/browser/services/gcm/instance_id/instance_id_profile_service.h |
+++ b/chrome/browser/services/gcm/instance_id/instance_id_profile_service.h |
@@ -18,9 +18,14 @@ class InstanceIDDriver; |
// Providing Instance ID support, via InstanceIDDriver, to a profile. |
class InstanceIDProfileService : public KeyedService { |
public: |
+ // Returns whether InstanceID is enabled for |profile|. |
+ static bool IsInstanceIDEnabled(Profile* profile); |
+ |
explicit InstanceIDProfileService(Profile* profile); |
~InstanceIDProfileService() override; |
+ InstanceIDDriver* driver() const { return driver_.get(); } |
+ |
private: |
scoped_ptr<InstanceIDDriver> driver_; |