| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/strings/string16.h" | 13 #include "base/strings/string16.h" |
| 14 #include "chrome/browser/image_decoder.h" | 14 #include "components/image_fetcher/content/image_decoder.h" |
| 15 #include "components/signin/core/browser/account_info.h" | 15 #include "components/signin/core/browser/account_info.h" |
| 16 #include "components/signin/core/browser/account_tracker_service.h" | 16 #include "components/signin/core/browser/account_tracker_service.h" |
| 17 #include "google_apis/gaia/oauth2_token_service.h" | 17 #include "google_apis/gaia/oauth2_token_service.h" |
| 18 #include "net/url_request/url_fetcher_delegate.h" | 18 #include "net/url_request/url_fetcher_delegate.h" |
| 19 #include "third_party/skia/include/core/SkBitmap.h" | 19 #include "third_party/skia/include/core/SkBitmap.h" |
| 20 #include "url/gurl.h" | 20 #include "url/gurl.h" |
| 21 | 21 |
| 22 class ProfileDownloaderDelegate; | 22 class ProfileDownloaderDelegate; |
| 23 | 23 |
| 24 namespace net { | 24 namespace net { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 AccountInfo account_info_; | 130 AccountInfo account_info_; |
| 131 SkBitmap profile_picture_; | 131 SkBitmap profile_picture_; |
| 132 PictureStatus picture_status_; | 132 PictureStatus picture_status_; |
| 133 AccountTrackerService* account_tracker_service_; | 133 AccountTrackerService* account_tracker_service_; |
| 134 bool waiting_for_account_info_; | 134 bool waiting_for_account_info_; |
| 135 | 135 |
| 136 DISALLOW_COPY_AND_ASSIGN(ProfileDownloader); | 136 DISALLOW_COPY_AND_ASSIGN(ProfileDownloader); |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 #endif // CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_H_ | 139 #endif // CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_H_ |
| OLD | NEW |