Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / ios / web / browsing_data_managers / crw_cookie_browsing_data_manager.mm
blobe78901212a73e57bffc90ec20e3ecae39a19b28f
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
3 // found in the LICENSE file.
5 #import "ios/web/browsing_data_managers/crw_cookie_browsing_data_manager.h"
7 #import "base/logging.h"
8 #include "ios/web/public/browser_state.h"
10 @implementation CRWCookieBrowsingDataManager {
11   web::BrowserState* _browserState;  // Weak, owns this object.
14 - (instancetype)initWithBrowserState:(web::BrowserState*)browserState {
15   self = [super init];
16   if (self) {
17     DCHECK(browserState);
18     _browserState = browserState;
19   }
20   return self;
23 #pragma mark CRWBrowsingDataManager implementation
24 // TODO(shreyasv): During implementation of the following methods evaluate if
25 // the entire BrowserState is required. Looks like only |state_path| may be
26 // required.
28 - (void)stashData {
29   // TODO(shreyasv): Implement this. crbug.com/480654
32 - (void)restoreData {
33   // TODO(shreyasv): Implement this. crbug.com/480654
36 - (void)removeData {
37   // TODO(shreyasv): Implement this. crbug.com/480654
40 @end