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

Unified Diff: google_apis/gaia/oauth2_token_service.h

Issue 681483003: Fix a typo in an OAuth2TokenService classname (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: google_apis/gaia/oauth2_token_service.h
diff --git a/google_apis/gaia/oauth2_token_service.h b/google_apis/gaia/oauth2_token_service.h
index 202d7d22505881d6478bcca6e9f68fb2f9584a68..727768cdaeec8703589cd29b9dcad6a935408604 100644
--- a/google_apis/gaia/oauth2_token_service.h
+++ b/google_apis/gaia/oauth2_token_service.h
@@ -69,7 +69,7 @@ class OAuth2TokenService : public base::NonThreadSafe {
// which will be called back when the request completes.
class Consumer {
public:
- Consumer(const std::string& id);
+ explicit Consumer(const std::string& id);
virtual ~Consumer();
std::string id() const { return id_; }
@@ -214,7 +214,7 @@ class OAuth2TokenService : public base::NonThreadSafe {
public Request {
public:
// |consumer| is required to outlive this.
- explicit RequestImpl(const std::string& account_id, Consumer* consumer);
+ RequestImpl(const std::string& account_id, Consumer* consumer);
~RequestImpl() override;
// Overridden from Request:
@@ -234,13 +234,13 @@ class OAuth2TokenService : public base::NonThreadSafe {
};
// Helper class to scope batch changes.
- class ScopedBacthChange {
+ class ScopedBatchChange {
public:
- ScopedBacthChange(OAuth2TokenService* token_service);
- ~ScopedBacthChange();
+ explicit ScopedBatchChange(OAuth2TokenService* token_service);
+ ~ScopedBatchChange();
private:
OAuth2TokenService* token_service_; // Weak.
- DISALLOW_COPY_AND_ASSIGN(ScopedBacthChange);
+ DISALLOW_COPY_AND_ASSIGN(ScopedBatchChange);
};
// Subclasses can override if they want to report errors to the user.
« no previous file with comments | « components/signin/ios/browser/profile_oauth2_token_service_ios.mm ('k') | google_apis/gaia/oauth2_token_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698