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