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_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_DELEGATE_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_DELEGATE_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_DELEGATE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/string16.h" | 11 #include "base/string16.h" |
13 | 12 |
14 class Profile; | 13 class Profile; |
15 class ProfileDownloader; | 14 class ProfileDownloader; |
16 | 15 |
17 // Reports on success or failure of Profile download. It is OK to delete the | 16 // Reports on success or failure of Profile download. It is OK to delete the |
(...skipping 19 matching lines...) Expand all Loading... |
37 | 36 |
38 // Called when the profile download has completed successfully. Delegate can | 37 // Called when the profile download has completed successfully. Delegate can |
39 // query the downloader for the picture and full name. | 38 // query the downloader for the picture and full name. |
40 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) = 0; | 39 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) = 0; |
41 | 40 |
42 // Called when the profile download has failed. | 41 // Called when the profile download has failed. |
43 virtual void OnProfileDownloadFailure(ProfileDownloader* downloader) = 0; | 42 virtual void OnProfileDownloadFailure(ProfileDownloader* downloader) = 0; |
44 }; | 43 }; |
45 | 44 |
46 #endif // CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_DELEGATE_H_ | 45 #endif // CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_DELEGATE_H_ |
OLD | NEW |