Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Side by Side Diff: chrome/browser/profiles/gaia_info_update_service.h

Issue 10857031: Move PrefMember and PrefChangeRegistrar to api directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to parent Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/printing/print_view_manager.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/timer.h" 11 #include "base/timer.h"
12 #include "chrome/browser/prefs/pref_member.h" 12 #include "chrome/browser/api/prefs/pref_member.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 "chrome/browser/profiles/profile_downloader.h"
15 #include "content/public/browser/notification_observer.h" 15 #include "content/public/browser/notification_observer.h"
16 16
17 class Profile; 17 class Profile;
18 class ProfileDownloader; 18 class ProfileDownloader;
19 19
20 // This service kicks off a download of the user's name and profile picture. 20 // This service kicks off a download of the user's name and profile picture.
21 // The results are saved in the profile info cache. 21 // The results are saved in the profile info cache.
22 class GAIAInfoUpdateService : public ProfileDownloaderDelegate, 22 class GAIAInfoUpdateService : public ProfileDownloaderDelegate,
23 public content::NotificationObserver { 23 public content::NotificationObserver {
24 public: 24 public:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 Profile* profile_; 57 Profile* profile_;
58 scoped_ptr<ProfileDownloader> profile_image_downloader_; 58 scoped_ptr<ProfileDownloader> profile_image_downloader_;
59 StringPrefMember username_pref_; 59 StringPrefMember username_pref_;
60 base::Time last_updated_; 60 base::Time last_updated_;
61 base::OneShotTimer<GAIAInfoUpdateService> timer_; 61 base::OneShotTimer<GAIAInfoUpdateService> timer_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(GAIAInfoUpdateService); 63 DISALLOW_COPY_AND_ASSIGN(GAIAInfoUpdateService);
64 }; 64 };
65 65
66 #endif // CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_ 66 #endif // CHROME_BROWSER_PROFILES_GAIA_INFO_UPDATE_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_view_manager.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698