// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_H_ #define COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_H_ #include <memory> #include <set> #include <string> #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "base/time/time.h" namespace gcm { class GCMDriver; } // namespace gcm namespace instance_id { extern const char kGCMScope[]; // Encapsulates Instance ID functionalities that need to be implemented for // different platforms. One instance is created per application. Life of // Instance ID is managed by the InstanceIDDriver. // // Create instances of this class by calling |InstanceIDDriver::GetInstanceID|. class InstanceID { … }; } // namespace instance_id #endif // COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_H_