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_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ |
6 #define CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ | 6 #define CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
12 #include "chrome/browser/profiles/profile_downloader.h" | 13 #include "chrome/browser/profiles/profile_downloader.h" |
13 #include "chrome/browser/profiles/profile_downloader_delegate.h" | 14 #include "chrome/browser/profiles/profile_downloader_delegate.h" |
14 #include "components/keyed_service/core/keyed_service.h" | 15 #include "components/keyed_service/core/keyed_service.h" |
15 #include "components/signin/core/browser/signin_manager.h" | 16 #include "components/signin/core/browser/signin_manager.h" |
16 | 17 |
17 class Profile; | 18 class Profile; |
18 class ProfileDownloader; | 19 class ProfileDownloader; |
19 | 20 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 62 |
62 Profile* profile_; | 63 Profile* profile_; |
63 scoped_ptr<ProfileDownloader> profile_image_downloader_; | 64 scoped_ptr<ProfileDownloader> profile_image_downloader_; |
64 base::Time last_updated_; | 65 base::Time last_updated_; |
65 base::OneShotTimer timer_; | 66 base::OneShotTimer timer_; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(GAIAInfoUpdateService); | 68 DISALLOW_COPY_AND_ASSIGN(GAIAInfoUpdateService); |
68 }; | 69 }; |
69 | 70 |
70 #endif // CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ | 71 #endif // CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ |
OLD | NEW |