| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef GOOGLE_APIS_GCM_ENGINE_GSERVICES_SETTINGS_H_ | 5 #ifndef GOOGLE_APIS_GCM_ENGINE_GSERVICES_SETTINGS_H_ |
| 6 #define GOOGLE_APIS_GCM_ENGINE_GSERVICES_SETTINGS_H_ | 6 #define GOOGLE_APIS_GCM_ENGINE_GSERVICES_SETTINGS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
| 12 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 13 #include "google_apis/gcm/base/gcm_export.h" | 14 #include "google_apis/gcm/base/gcm_export.h" |
| 14 #include "google_apis/gcm/engine/gcm_store.h" | 15 #include "google_apis/gcm/engine/gcm_store.h" |
| 15 #include "google_apis/gcm/protocol/checkin.pb.h" | 16 #include "google_apis/gcm/protocol/checkin.pb.h" |
| 16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 17 | 18 |
| 18 namespace gcm { | 19 namespace gcm { |
| 19 | 20 |
| 20 // Class responsible for handling G-services settings. It takes care of | 21 // Class responsible for handling G-services settings. It takes care of |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 71 |
| 71 // Factory for creating references in callbacks. | 72 // Factory for creating references in callbacks. |
| 72 base::WeakPtrFactory<GServicesSettings> weak_ptr_factory_; | 73 base::WeakPtrFactory<GServicesSettings> weak_ptr_factory_; |
| 73 | 74 |
| 74 DISALLOW_COPY_AND_ASSIGN(GServicesSettings); | 75 DISALLOW_COPY_AND_ASSIGN(GServicesSettings); |
| 75 }; | 76 }; |
| 76 | 77 |
| 77 } // namespace gcm | 78 } // namespace gcm |
| 78 | 79 |
| 79 #endif // GOOGLE_APIS_GCM_ENGINE_GSERVICES_SETTINGS_H_ | 80 #endif // GOOGLE_APIS_GCM_ENGINE_GSERVICES_SETTINGS_H_ |
| OLD | NEW |