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

Side by Side Diff: components/browser_watcher/stability_report_extractor.cc

Issue 2867063002: Stability instrumentation Crashpad integration (Closed)
Patch Set: clang compile Created 3 years, 7 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/browser_watcher/stability_report_extractor.h" 5 #include "components/browser_watcher/stability_report_extractor.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/debug/activity_analyzer.h" 12 #include "base/debug/activity_analyzer.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/metrics/histogram_macros.h"
15 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
16 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
17 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
19 #include "components/browser_watcher/stability_data_names.h" 18 #include "components/browser_watcher/stability_data_names.h"
20 #include "components/variations/active_field_trials.h" 19 #include "components/variations/active_field_trials.h"
21 #include "third_party/crashpad/crashpad/util/misc/uuid.h" 20 #include "third_party/crashpad/crashpad/util/misc/uuid.h"
22 21
23 namespace browser_watcher { 22 namespace browser_watcher {
24 23
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 CollectThread(thread_analyzer->activity_snapshot(), thread_state); 261 CollectThread(thread_analyzer->activity_snapshot(), thread_state);
263 } 262 }
264 263
265 // Collect module information. 264 // Collect module information.
266 CollectModuleInformation(global_analyzer->GetModules(), process_state); 265 CollectModuleInformation(global_analyzer->GetModules(), process_state);
267 266
268 return SUCCESS; 267 return SUCCESS;
269 } 268 }
270 269
271 } // namespace browser_watcher 270 } // namespace browser_watcher
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698