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

Side by Side Diff: ios/chrome/app/main_controller.mm

Issue 2936603002: [ios] Remove unused ivars from MainControler (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/chrome/app/main_controller.h" 5 #import "ios/chrome/app/main_controller.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #import <CoreSpotlight/CoreSpotlight.h> 10 #import <CoreSpotlight/CoreSpotlight.h>
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 base::scoped_nsobject<SettingsNavigationController> 261 base::scoped_nsobject<SettingsNavigationController>
262 _settingsNavigationController; 262 _settingsNavigationController;
263 263
264 // View controller for switching tabs. 264 // View controller for switching tabs.
265 base::scoped_nsobject<UIViewController<TabSwitcher>> _tabSwitcherController; 265 base::scoped_nsobject<UIViewController<TabSwitcher>> _tabSwitcherController;
266 266
267 // Controller to display the re-authentication flow. 267 // Controller to display the re-authentication flow.
268 base::scoped_nsobject<SigninInteractionController> 268 base::scoped_nsobject<SigninInteractionController>
269 _signinInteractionController; 269 _signinInteractionController;
270 270
271 // The number of memory warnings that have been received in this
272 // foreground session.
273 int _foregroundMemoryWarningCount;
274
275 // The time at which to reset the OOM crash flag in the user defaults. This
276 // is used to handle receiving multiple memory warnings in short succession.
277 CFAbsoluteTime _outOfMemoryResetTime;
278
279 // YES while animating the dismissal of stack view. 271 // YES while animating the dismissal of stack view.
280 BOOL _dismissingStackView; 272 BOOL _dismissingStackView;
281 273
282 // If not NONE, the current BVC should be switched to this BVC on completion 274 // If not NONE, the current BVC should be switched to this BVC on completion
283 // of stack view dismissal. 275 // of stack view dismissal.
284 StackViewDismissalMode _modeToDisplayOnStackViewDismissal; 276 StackViewDismissalMode _modeToDisplayOnStackViewDismissal;
285 277
286 // If YES, the tab switcher is currently active. 278 // If YES, the tab switcher is currently active.
287 BOOL _tabSwitcherIsActive; 279 BOOL _tabSwitcherIsActive;
288 280
(...skipping 2338 matching lines...) Expand 10 before | Expand all | Expand 10 after
2627 }; 2619 };
2628 2620
2629 callbackCounter->IncrementCount(); 2621 callbackCounter->IncrementCount();
2630 [self removeBrowsingDataFromBrowserState:_mainBrowserState 2622 [self removeBrowsingDataFromBrowserState:_mainBrowserState
2631 mask:removeAllMask 2623 mask:removeAllMask
2632 timePeriod:browsing_data::TimePeriod::ALL_TIME 2624 timePeriod:browsing_data::TimePeriod::ALL_TIME
2633 completionHandler:decrementCallbackCounterCount]; 2625 completionHandler:decrementCallbackCounterCount];
2634 } 2626 }
2635 2627
2636 @end 2628 @end
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698