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 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "base/timer.h" | 11 #include "base/timer.h" |
13 #include "chrome/browser/prefs/pref_member.h" | 12 #include "chrome/browser/prefs/pref_member.h" |
14 #include "chrome/browser/profiles/profile_downloader_delegate.h" | 13 #include "chrome/browser/profiles/profile_downloader_delegate.h" |
15 #include "chrome/browser/profiles/profile_downloader.h" | 14 #include "chrome/browser/profiles/profile_downloader.h" |
16 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
17 | 16 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 Profile* profile_; | 57 Profile* profile_; |
59 scoped_ptr<ProfileDownloader> profile_image_downloader_; | 58 scoped_ptr<ProfileDownloader> profile_image_downloader_; |
60 StringPrefMember username_pref_; | 59 StringPrefMember username_pref_; |
61 base::Time last_updated_; | 60 base::Time last_updated_; |
62 base::OneShotTimer<GAIAInfoUpdateService> timer_; | 61 base::OneShotTimer<GAIAInfoUpdateService> timer_; |
63 | 62 |
64 DISALLOW_COPY_AND_ASSIGN(GAIAInfoUpdateService); | 63 DISALLOW_COPY_AND_ASSIGN(GAIAInfoUpdateService); |
65 }; | 64 }; |
66 | 65 |
67 #endif // CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ | 66 #endif // CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ |
OLD | NEW |