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

Side by Side Diff: components/signin/ios/browser/profile_oauth2_token_service_ios_delegate.mm

Issue 2606753004: Import Objective C Frameworks in components (Closed)
Patch Set: Created 3 years, 11 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 #include "components/signin/ios/browser/profile_oauth2_token_service_ios_delegat e.h" 5 #include "components/signin/ios/browser/profile_oauth2_token_service_ios_delegat e.h"
6 6
7 #include <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/stl_util.h" 17 #include "base/stl_util.h"
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 accounts_.erase(account_id); 385 accounts_.erase(account_id);
386 FireRefreshTokenRevoked(account_id); 386 FireRefreshTokenRevoked(account_id);
387 } 387 }
388 } 388 }
389 389
390 void ProfileOAuth2TokenServiceIOSDelegate::ClearExcludedSecondaryAccounts() { 390 void ProfileOAuth2TokenServiceIOSDelegate::ClearExcludedSecondaryAccounts() {
391 client_->GetPrefs()->ClearPref( 391 client_->GetPrefs()->ClearPref(
392 prefs::kTokenServiceExcludeAllSecondaryAccounts); 392 prefs::kTokenServiceExcludeAllSecondaryAccounts);
393 client_->GetPrefs()->ClearPref(prefs::kTokenServiceExcludedSecondaryAccounts); 393 client_->GetPrefs()->ClearPref(prefs::kTokenServiceExcludedSecondaryAccounts);
394 } 394 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698