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

Side by Side Diff: ios/chrome/browser/crash_report/crash_report_helper.h

Issue 2580363002: Upstream Chrome on iOS source code [1/11]. (Closed)
Patch Set: Created 4 years 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_REPORT_HELPER_H_
6 #define IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_REPORT_HELPER_H_
7
8 @class NSString;
9 @class TabModel;
10
11 namespace ios_internal {
12 namespace breakpad {
13
14 // Monitors the urls loaded in |tab_model| to allow crash reports to contain
15 // the currently loaded urls.
16 // |tab_model| must not be an off-the-record tab model.
17 void MonitorURLsForTabModel(TabModel* tab_model);
18
19 // Stop monitoring the urls loaded in the |tabModel|.
20 void StopMonitoringURLsForTabModel(TabModel* tab_model);
21
22 // Adds the state monitor to |tab_model|. TabModels that are not monitored via
23 // this function are still monitored through notifications, but calling this
24 // function is mandatory to keep the monitoring of deleted tabs consistent.
25 void MonitorTabStateForTabModel(TabModel* tab_model);
26
27 // Stop the state monitor of |tab_model|.
28 void StopMonitoringTabStateForTabModel(TabModel* tab_model);
29
30 // Clear any state about the urls loaded in the given TabModel; this should be
31 // called when the tab model is deactivated.
32 void ClearStateForTabModel(TabModel* tab_model);
33
34 } // namespace breakpad
35 } // namespace ios_internal
36
37 #endif // IOS_CHROME_BROWSER_CRASH_REPORT_CRASH_REPORT_HELPER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/crash_report/breakpad_helper_unittest.mm ('k') | ios/chrome/browser/crash_report/crash_report_helper.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698