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

Side by Side Diff: ios/web/browsing_data_managers/crw_cookie_browsing_data_manager.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 5 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/web/browsing_data_managers/crw_cookie_browsing_data_manager.h" 5 #import "ios/web/browsing_data_managers/crw_cookie_browsing_data_manager.h"
6 6
7 #import "base/logging.h" 7 #import "base/logging.h"
8 #include "ios/web/public/browser_state.h" 8 #include "ios/web/public/browser_state.h"
9 9
10 @implementation CRWCookieBrowsingDataManager { 10 @implementation CRWCookieBrowsingDataManager {
11 web::BrowserState* _browserState; // Weak, owns this object. 11 web::BrowserState* _browserState; // Weak, owns this object.
12 } 12 }
13 13
14 - (instancetype)initWithBrowserState:(web::BrowserState*)browserState { 14 - (instancetype)initWithBrowserState:(web::BrowserState*)browserState {
15 self = [super init]; 15 self = [super init];
16 if (self) { 16 if (self) {
17 DCHECK(browserState); 17 DCHECK(browserState);
18 _browserState = browserState; 18 _browserState = browserState;
19 } 19 }
20 return self; 20 return self;
21 } 21 }
22 22
23 - (instancetype)init {
24 NOTREACHED();
25 return nil;
26 }
27
23 #pragma mark CRWBrowsingDataManager implementation 28 #pragma mark CRWBrowsingDataManager implementation
24 // TODO(shreyasv): During implementation of the following methods evaluate if 29 // TODO(shreyasv): During implementation of the following methods evaluate if
25 // the entire BrowserState is required. Looks like only |state_path| may be 30 // the entire BrowserState is required. Looks like only |state_path| may be
26 // required. 31 // required.
27 32
28 - (void)stashData { 33 - (void)stashData {
29 // TODO(shreyasv): Implement this. crbug.com/480654 34 // TODO(shreyasv): Implement this. crbug.com/480654
30 } 35 }
31 36
32 - (void)restoreData { 37 - (void)restoreData {
33 // TODO(shreyasv): Implement this. crbug.com/480654 38 // TODO(shreyasv): Implement this. crbug.com/480654
34 } 39 }
35 40
36 - (void)removeDataAtStashPath { 41 - (void)removeDataAtStashPath {
37 // TODO(shreyasv): Implement this. crbug.com/480654 42 // TODO(shreyasv): Implement this. crbug.com/480654
38 } 43 }
39 44
40 - (void)removeDataAtCanonicalPath { 45 - (void)removeDataAtCanonicalPath {
41 // TODO(shreyasv): Implement this. crbug.com/480654 46 // TODO(shreyasv): Implement this. crbug.com/480654
42 } 47 }
43 48
44 @end 49 @end
OLDNEW
« no previous file with comments | « ios/web/browsing_data_managers/crw_cookie_browsing_data_manager.h ('k') | ios/web/crw_browsing_data_store.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698