summaryrefslogtreecommitdiffstats
path: root/chrome/browser/supervised_user/permission_request_creator_apiary.h
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-10-21 04:39:05 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-21 11:39:23 +0000
commitc072fff949cad2790f4cb731097c276897b37d0b (patch)
tree16153dd25f3aaf7b06ceaffc7d0e4682b2f94c57 /chrome/browser/supervised_user/permission_request_creator_apiary.h
parent0d20d8969982c6db6fef2680e3969b29e5b7036c (diff)
downloadchromium_src-c072fff949cad2790f4cb731097c276897b37d0b.zip
chromium_src-c072fff949cad2790f4cb731097c276897b37d0b.tar.gz
chromium_src-c072fff949cad2790f4cb731097c276897b37d0b.tar.bz2
Standardize usage of virtual/override/final in chrome/browser/supervised_user/
This patch was automatically generated by applying clang fixit hints generated by the plugin to the source tree. BUG=417463 TBR=bauerb@chromium.org Review URL: https://codereview.chromium.org/652473004 Cr-Commit-Position: refs/heads/master@{#300460}
Diffstat (limited to 'chrome/browser/supervised_user/permission_request_creator_apiary.h')
-rw-r--r--chrome/browser/supervised_user/permission_request_creator_apiary.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/chrome/browser/supervised_user/permission_request_creator_apiary.h b/chrome/browser/supervised_user/permission_request_creator_apiary.h
index 9d1828b..c742c81 100644
--- a/chrome/browser/supervised_user/permission_request_creator_apiary.h
+++ b/chrome/browser/supervised_user/permission_request_creator_apiary.h
@@ -35,16 +35,15 @@ class PermissionRequestCreatorApiary : public PermissionRequestCreator,
scoped_ptr<SupervisedUserSigninManagerWrapper> signin_wrapper,
net::URLRequestContextGetter* context,
const GURL& apiary_url);
- virtual ~PermissionRequestCreatorApiary();
+ ~PermissionRequestCreatorApiary() override;
static scoped_ptr<PermissionRequestCreator> CreateWithProfile(
Profile* profile, const GURL& apiary_url);
// PermissionRequestCreator implementation:
- virtual bool IsEnabled() const override;
- virtual void CreatePermissionRequest(
- const GURL& url_requested,
- const SuccessCallback& callback) override;
+ bool IsEnabled() const override;
+ void CreatePermissionRequest(const GURL& url_requested,
+ const SuccessCallback& callback) override;
void set_url_fetcher_id_for_testing(int id) { url_fetcher_id_ = id; }
@@ -53,14 +52,14 @@ class PermissionRequestCreatorApiary : public PermissionRequestCreator,
typedef ScopedVector<Request>::iterator RequestIterator;
// OAuth2TokenService::Consumer implementation:
- virtual void OnGetTokenSuccess(const OAuth2TokenService::Request* request,
- const std::string& access_token,
- const base::Time& expiration_time) override;
- virtual void OnGetTokenFailure(const OAuth2TokenService::Request* request,
- const GoogleServiceAuthError& error) override;
+ void OnGetTokenSuccess(const OAuth2TokenService::Request* request,
+ const std::string& access_token,
+ const base::Time& expiration_time) override;
+ void OnGetTokenFailure(const OAuth2TokenService::Request* request,
+ const GoogleServiceAuthError& error) override;
// net::URLFetcherDelegate implementation.
- virtual void OnURLFetchComplete(const net::URLFetcher* source) override;
+ void OnURLFetchComplete(const net::URLFetcher* source) override;
std::string GetApiScopeToUse() const;