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

Side by Side Diff: components/signin/ios/browser/merge_session_observer_bridge.h

Issue 2928383002: [ObjC ARC] Converts components/signin/ios/browser:browser to ARC. (Closed)
Patch Set: Review fixes. 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_SIGNIN_IOS_BROWSER_MERGE_SESSION_OBSERVER_BRIDGE_H_ 5 #ifndef COMPONENTS_SIGNIN_IOS_BROWSER_MERGE_SESSION_OBSERVER_BRIDGE_H_
6 #define COMPONENTS_SIGNIN_IOS_BROWSER_MERGE_SESSION_OBSERVER_BRIDGE_H_ 6 #define COMPONENTS_SIGNIN_IOS_BROWSER_MERGE_SESSION_OBSERVER_BRIDGE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 17 matching lines...) Expand all
28 public: 28 public:
29 MergeSessionObserverBridge(id<MergeSessionObserverBridgeDelegate> delegate, 29 MergeSessionObserverBridge(id<MergeSessionObserverBridgeDelegate> delegate,
30 GaiaCookieManagerService* cookie_manager_service); 30 GaiaCookieManagerService* cookie_manager_service);
31 ~MergeSessionObserverBridge() override; 31 ~MergeSessionObserverBridge() override;
32 32
33 void OnAddAccountToCookieCompleted( 33 void OnAddAccountToCookieCompleted(
34 const std::string& account_id, 34 const std::string& account_id,
35 const GoogleServiceAuthError& error) override; 35 const GoogleServiceAuthError& error) override;
36 36
37 private: 37 private:
38 id<MergeSessionObserverBridgeDelegate> delegate_; 38 __weak id<MergeSessionObserverBridgeDelegate> delegate_;
39 GaiaCookieManagerService* cookie_manager_service_; 39 GaiaCookieManagerService* cookie_manager_service_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(MergeSessionObserverBridge); 41 DISALLOW_COPY_AND_ASSIGN(MergeSessionObserverBridge);
42 }; 42 };
43 43
44 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_MERGE_SESSION_OBSERVER_BRIDGE_H_ 44 #endif // COMPONENTS_SIGNIN_IOS_BROWSER_MERGE_SESSION_OBSERVER_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698