OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "chrome/browser/chromeos/settings/cros_settings.h" | 13 #include "chrome/browser/chromeos/settings/cros_settings.h" |
13 #include "chromeos/system/version_loader.h" | 14 #include "chromeos/system/version_loader.h" |
14 #include "components/policy/core/common/cloud/cloud_policy_store.h" | 15 #include "components/policy/core/common/cloud/cloud_policy_store.h" |
15 | 16 |
16 namespace chromeos { | 17 namespace chromeos { |
17 | 18 |
18 class CrosSettings; | 19 class CrosSettings; |
19 | 20 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 // at a later time without worrying that they will actually try to | 83 // at a later time without worrying that they will actually try to |
83 // happen after the lifetime of this object. | 84 // happen after the lifetime of this object. |
84 base::WeakPtrFactory<VersionInfoUpdater> weak_pointer_factory_; | 85 base::WeakPtrFactory<VersionInfoUpdater> weak_pointer_factory_; |
85 | 86 |
86 DISALLOW_COPY_AND_ASSIGN(VersionInfoUpdater); | 87 DISALLOW_COPY_AND_ASSIGN(VersionInfoUpdater); |
87 }; | 88 }; |
88 | 89 |
89 } // namespace chromeos | 90 } // namespace chromeos |
90 | 91 |
91 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ | 92 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VERSION_INFO_UPDATER_H_ |
OLD | NEW |