| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provide
r_impl.h" | 5 #include "chrome/browser/chromeos/policy/affiliated_invalidation_service_provide
r_impl.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
| 10 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 11 #include "chrome/browser/browser_process_platform_part_chromeos.h" | 12 #include "chrome/browser/browser_process_platform_part_chromeos.h" |
| 12 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
| 13 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" | 14 #include "chrome/browser/chromeos/policy/browser_policy_connector_chromeos.h" |
| 14 #include "chrome/browser/chromeos/policy/ticl_device_settings_provider.h" | 15 #include "chrome/browser/chromeos/policy/ticl_device_settings_provider.h" |
| 15 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 16 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 16 #include "chrome/browser/chromeos/settings/device_identity_provider.h" | 17 #include "chrome/browser/chromeos/settings/device_identity_provider.h" |
| 17 #include "chrome/browser/chromeos/settings/device_oauth2_token_service_factory.h
" | 18 #include "chrome/browser/chromeos/settings/device_oauth2_token_service_factory.h
" |
| 18 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" | 19 #include "chrome/browser/invalidation/profile_invalidation_provider_factory.h" |
| 19 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 OnInvalidationServiceSet(invalidation_service_)); | 340 OnInvalidationServiceSet(invalidation_service_)); |
| 340 } | 341 } |
| 341 | 342 |
| 342 void | 343 void |
| 343 AffiliatedInvalidationServiceProviderImpl::DestroyDeviceInvalidationService() { | 344 AffiliatedInvalidationServiceProviderImpl::DestroyDeviceInvalidationService() { |
| 344 device_invalidation_service_observer_.reset(); | 345 device_invalidation_service_observer_.reset(); |
| 345 device_invalidation_service_.reset(); | 346 device_invalidation_service_.reset(); |
| 346 } | 347 } |
| 347 | 348 |
| 348 } // namespace policy | 349 } // namespace policy |
| OLD | NEW |