OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "content/ppapi_plugin/ppapi_thread.h" | 5 #include "content/ppapi_plugin/ppapi_thread.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/debug/crash_logging.h" | 10 #include "base/debug/crash_logging.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/metrics/histogram.h" | 12 #include "base/metrics/histogram.h" |
13 #include "base/process_util.h" | 13 #include "base/process_util.h" |
14 #include "base/rand_util.h" | 14 #include "base/rand_util.h" |
15 #include "base/stringprintf.h" | 15 #include "base/stringprintf.h" |
| 16 #include "base/strings/utf_string_conversions.h" |
16 #include "base/threading/platform_thread.h" | 17 #include "base/threading/platform_thread.h" |
17 #include "base/time.h" | 18 #include "base/time.h" |
18 #include "base/utf_string_conversions.h" | |
19 #include "content/child/child_process.h" | 19 #include "content/child/child_process.h" |
20 #include "content/common/child_process_messages.h" | 20 #include "content/common/child_process_messages.h" |
21 #include "content/common/sandbox_util.h" | 21 #include "content/common/sandbox_util.h" |
22 #include "content/ppapi_plugin/broker_process_dispatcher.h" | 22 #include "content/ppapi_plugin/broker_process_dispatcher.h" |
23 #include "content/ppapi_plugin/plugin_process_dispatcher.h" | 23 #include "content/ppapi_plugin/plugin_process_dispatcher.h" |
24 #include "content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h" | 24 #include "content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h" |
25 #include "content/public/common/content_client.h" | 25 #include "content/public/common/content_client.h" |
26 #include "content/public/common/pepper_plugin_info.h" | 26 #include "content/public/common/pepper_plugin_info.h" |
27 #include "content/public/common/sandbox_init.h" | 27 #include "content/public/common/sandbox_init.h" |
28 #include "content/public/plugin/content_plugin_client.h" | 28 #include "content/public/plugin/content_plugin_client.h" |
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 histogram_name.str(), | 494 histogram_name.str(), |
495 1, | 495 1, |
496 LOAD_RESULT_MAX, | 496 LOAD_RESULT_MAX, |
497 LOAD_RESULT_MAX + 1, | 497 LOAD_RESULT_MAX + 1, |
498 base::HistogramBase::kUmaTargetedHistogramFlag); | 498 base::HistogramBase::kUmaTargetedHistogramFlag); |
499 | 499 |
500 histogram->Add(result); | 500 histogram->Add(result); |
501 } | 501 } |
502 | 502 |
503 } // namespace content | 503 } // namespace content |
OLD | NEW |