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 #include "ios/chrome/browser/crash_report/crash_report_helper.h" | 5 #include "ios/chrome/browser/crash_report/crash_report_helper.h" |
6 | 6 |
7 #include <Foundation/Foundation.h> | 7 #import <Foundation/Foundation.h> |
8 | 8 |
9 #include "base/auto_reset.h" | 9 #include "base/auto_reset.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/debug/crash_logging.h" | 11 #include "base/debug/crash_logging.h" |
12 #include "base/files/file_enumerator.h" | 12 #include "base/files/file_enumerator.h" |
13 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
14 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/mac/scoped_nsobject.h" | 16 #include "base/mac/scoped_nsobject.h" |
17 #include "base/path_service.h" | 17 #include "base/path_service.h" |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 void ClearStateForTabModel(TabModel* tab_model) { | 343 void ClearStateForTabModel(TabModel* tab_model) { |
344 CrashReporterURLObserver* observer = | 344 CrashReporterURLObserver* observer = |
345 [CrashReporterURLObserver uniqueInstance]; | 345 [CrashReporterURLObserver uniqueInstance]; |
346 for (Tab* tab in tab_model) { | 346 for (Tab* tab in tab_model) { |
347 [observer removeTabId:tab.tabId]; | 347 [observer removeTabId:tab.tabId]; |
348 } | 348 } |
349 } | 349 } |
350 | 350 |
351 } // namespace breakpad | 351 } // namespace breakpad |
352 } // namespace ios_internal | 352 } // namespace ios_internal |
OLD | NEW |