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_PROFILE_DOWNLOADER_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "chrome/browser/image_decoder.h" | 14 #include "chrome/browser/image_decoder.h" |
15 #include "chrome/common/net/gaia/oauth2_access_token_consumer.h" | |
16 #include "content/public/browser/notification_observer.h" | 15 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 16 #include "content/public/browser/notification_registrar.h" |
| 17 #include "google_apis/gaia/oauth2_access_token_consumer.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 #include "net/url_request/url_fetcher_delegate.h" | 19 #include "net/url_request/url_fetcher_delegate.h" |
20 #include "third_party/skia/include/core/SkBitmap.h" | 20 #include "third_party/skia/include/core/SkBitmap.h" |
21 | 21 |
22 class ProfileDownloaderDelegate; | 22 class ProfileDownloaderDelegate; |
23 class OAuth2AccessTokenFetcher; | 23 class OAuth2AccessTokenFetcher; |
24 | 24 |
25 namespace net { | 25 namespace net { |
26 class URLFetcher; | 26 class URLFetcher; |
27 } // namespace net | 27 } // namespace net |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 content::NotificationRegistrar registrar_; | 117 content::NotificationRegistrar registrar_; |
118 string16 profile_full_name_; | 118 string16 profile_full_name_; |
119 SkBitmap profile_picture_; | 119 SkBitmap profile_picture_; |
120 PictureStatus picture_status_; | 120 PictureStatus picture_status_; |
121 std::string picture_url_; | 121 std::string picture_url_; |
122 | 122 |
123 DISALLOW_COPY_AND_ASSIGN(ProfileDownloader); | 123 DISALLOW_COPY_AND_ASSIGN(ProfileDownloader); |
124 }; | 124 }; |
125 | 125 |
126 #endif // CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_H_ | 126 #endif // CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_H_ |
OLD | NEW |