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

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

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/browser/profiles/profile_downloader.cc ('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_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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
12 11
13 class Profile; 12 class Profile;
14 class ProfileDownloader; 13 class ProfileDownloader;
15 14
16 // Reports on success or failure of Profile download. It is OK to delete the 15 // Reports on success or failure of Profile download. It is OK to delete the
17 // |ProfileImageDownloader| instance in any of these handlers. 16 // |ProfileImageDownloader| instance in any of these handlers.
18 class ProfileDownloaderDelegate { 17 class ProfileDownloaderDelegate {
19 public: 18 public:
20 // Error codes passed to OnProfileDownloadFailure. 19 // Error codes passed to OnProfileDownloadFailure.
(...skipping 30 matching lines...) Expand all
51 // query the downloader for the picture and full name. 50 // query the downloader for the picture and full name.
52 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) = 0; 51 virtual void OnProfileDownloadSuccess(ProfileDownloader* downloader) = 0;
53 52
54 // Called when the profile download has failed. 53 // Called when the profile download has failed.
55 virtual void OnProfileDownloadFailure( 54 virtual void OnProfileDownloadFailure(
56 ProfileDownloader* downloader, 55 ProfileDownloader* downloader,
57 ProfileDownloaderDelegate::FailureReason reason) = 0; 56 ProfileDownloaderDelegate::FailureReason reason) = 0;
58 }; 57 };
59 58
60 #endif // CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_DELEGATE_H_ 59 #endif // CHROME_BROWSER_PROFILES_PROFILE_DOWNLOADER_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_downloader.cc ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698