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

Side by Side Diff: ios/chrome/browser/ui/settings/settings_collection_view_controller.mm

Issue 2926553004: Remove trailing semicolon at the end of a method definition (Closed)
Patch Set: rebase Created 3 years, 6 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #import "ios/chrome/browser/ui/settings/settings_collection_view_controller.h" 5 #import "ios/chrome/browser/ui/settings/settings_collection_view_controller.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #import "base/mac/foundation_util.h" 9 #import "base/mac/foundation_util.h"
10 #include "base/metrics/user_metrics.h" 10 #include "base/metrics/user_metrics.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 NSString* kLogJavascriptKey = @"LogJavascript"; 130 NSString* kLogJavascriptKey = @"LogJavascript";
131 NSString* kShowAutofillTypePredictionsKey = @"ShowAutofillTypePredictions"; 131 NSString* kShowAutofillTypePredictionsKey = @"ShowAutofillTypePredictions";
132 #endif // CHROMIUM_BUILD && !defined(NDEBUG) 132 #endif // CHROMIUM_BUILD && !defined(NDEBUG)
133 133
134 #pragma mark - SigninObserverBridge Class 134 #pragma mark - SigninObserverBridge Class
135 135
136 class SigninObserverBridge : public SigninManagerBase::Observer { 136 class SigninObserverBridge : public SigninManagerBase::Observer {
137 public: 137 public:
138 SigninObserverBridge(ios::ChromeBrowserState* browserState, 138 SigninObserverBridge(ios::ChromeBrowserState* browserState,
139 SettingsCollectionViewController* owner); 139 SettingsCollectionViewController* owner);
140 ~SigninObserverBridge() override{}; 140 ~SigninObserverBridge() override {}
141 141
142 // SigninManagerBase::Observer implementation: 142 // SigninManagerBase::Observer implementation:
143 void GoogleSigninSucceeded(const std::string& account_id, 143 void GoogleSigninSucceeded(const std::string& account_id,
144 const std::string& username, 144 const std::string& username,
145 const std::string& password) override; 145 const std::string& password) override;
146 void GoogleSignedOut(const std::string& account_id, 146 void GoogleSignedOut(const std::string& account_id,
147 const std::string& username) override; 147 const std::string& username) override;
148 148
149 private: 149 private:
150 __weak SettingsCollectionViewController* owner_; 150 __weak SettingsCollectionViewController* owner_;
(...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 (SigninPromoView*)signinPromoView { 1199 (SigninPromoView*)signinPromoView {
1200 DCHECK(_signinPromoViewMediator.defaultIdentity); 1200 DCHECK(_signinPromoViewMediator.defaultIdentity);
1201 base::RecordAction( 1201 base::RecordAction(
1202 base::UserMetricsAction("Signin_SigninNotDefault_FromSettings")); 1202 base::UserMetricsAction("Signin_SigninNotDefault_FromSettings"));
1203 [self showSignInWithIdentity:nil 1203 [self showSignInWithIdentity:nil
1204 promoAction:signin_metrics::PromoAction:: 1204 promoAction:signin_metrics::PromoAction::
1205 PROMO_ACTION_NOT_DEFAULT]; 1205 PROMO_ACTION_NOT_DEFAULT];
1206 } 1206 }
1207 1207
1208 @end 1208 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698