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

Side by Side Diff: ios/chrome/browser/sessions/ios_chrome_session_tab_helper.mm

Issue 2512993002: [ObjC ARC] Converts ios/chrome/browser/sessions:sessions to ARC.Automatically generated ARCMigrat… (Closed)
Patch Set: Created 4 years, 1 month 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 "ios/chrome/browser/sessions/ios_chrome_session_tab_helper.h" 5 #include "ios/chrome/browser/sessions/ios_chrome_session_tab_helper.h"
6 6
7 #if !defined(__has_feature) || !__has_feature(objc_arc)
8 #error "This file requires ARC support."
9 #endif
10
7 DEFINE_WEB_STATE_USER_DATA_KEY(IOSChromeSessionTabHelper); 11 DEFINE_WEB_STATE_USER_DATA_KEY(IOSChromeSessionTabHelper);
8 12
9 IOSChromeSessionTabHelper::IOSChromeSessionTabHelper(web::WebState* web_state) { 13 IOSChromeSessionTabHelper::IOSChromeSessionTabHelper(web::WebState* web_state) {
10 } 14 }
11 15
12 IOSChromeSessionTabHelper::~IOSChromeSessionTabHelper() {} 16 IOSChromeSessionTabHelper::~IOSChromeSessionTabHelper() {}
13 17
14 void IOSChromeSessionTabHelper::SetWindowID(const SessionID& id) { 18 void IOSChromeSessionTabHelper::SetWindowID(const SessionID& id) {
15 window_id_ = id; 19 window_id_ = id;
16 } 20 }
OLDNEW
« no previous file with comments | « ios/chrome/browser/sessions/BUILD.gn ('k') | ios/chrome/browser/sessions/ios_chrome_tab_restore_service_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698