| OLD | NEW | 
|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 
| 6 #define IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 6 #define IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 
| 7 | 7 | 
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> | 
| 9 | 9 | 
| 10 #import "ios/chrome/browser/ui/main/browser_view_information.h" | 10 #import "ios/chrome/browser/ui/main/browser_view_information.h" | 
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 50 | 50 | 
| 51 // Update the device sharing manager. This should be done after updates to the | 51 // Update the device sharing manager. This should be done after updates to the | 
| 52 // tab model. This class creates and manages the state of the sharing manager. | 52 // tab model. This class creates and manages the state of the sharing manager. | 
| 53 - (void)updateDeviceSharingManager; | 53 - (void)updateDeviceSharingManager; | 
| 54 | 54 | 
| 55 // Delete any incognito tab model state, using |removalController| to handle | 55 // Delete any incognito tab model state, using |removalController| to handle | 
| 56 // the storage removal. | 56 // the storage removal. | 
| 57 - (void)deleteIncognitoTabModelState: | 57 - (void)deleteIncognitoTabModelState: | 
| 58     (BrowsingDataRemovalController*)removalController; | 58     (BrowsingDataRemovalController*)removalController; | 
| 59 | 59 | 
| 60 // Called before the instance is deallocated. |  | 
| 61 - (void)shutdown; |  | 
| 62 |  | 
| 63 @end | 60 @end | 
| 64 | 61 | 
| 65 @interface BrowserViewWrangler (Testing) | 62 @interface BrowserViewWrangler (Testing) | 
| 66 @property(nonatomic, readonly) DeviceSharingManager* deviceSharingManager; | 63 @property(nonatomic, readonly) DeviceSharingManager* deviceSharingManager; | 
| 67 @end | 64 @end | 
| 68 | 65 | 
| 69 #endif  // IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 66 #endif  // IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 
| OLD | NEW | 
|---|