| OLD | NEW |
| 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 2596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2607 completionHandler(); | 2607 completionHandler(); |
| 2608 } | 2608 } |
| 2609 })); | 2609 })); |
| 2610 id decrementCallbackCounterCount = ^{ | 2610 id decrementCallbackCounterCount = ^{ |
| 2611 callbackCounter->DecrementCount(); | 2611 callbackCounter->DecrementCount(); |
| 2612 }; | 2612 }; |
| 2613 | 2613 |
| 2614 callbackCounter->IncrementCount(); | 2614 callbackCounter->IncrementCount(); |
| 2615 [self removeBrowsingDataFromBrowserState:_mainBrowserState | 2615 [self removeBrowsingDataFromBrowserState:_mainBrowserState |
| 2616 mask:removeAllMask | 2616 mask:removeAllMask |
| 2617 timePeriod:browsing_data::ALL_TIME | 2617 timePeriod:browsing_data::TimePeriod::ALL_TIME |
| 2618 completionHandler:decrementCallbackCounterCount]; | 2618 completionHandler:decrementCallbackCounterCount]; |
| 2619 } | 2619 } |
| 2620 | 2620 |
| 2621 @end | 2621 @end |
| OLD | NEW |