| 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" | |
| 14 #include "base/rand_util.h" | 13 #include "base/rand_util.h" |
| 15 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/threading/platform_thread.h" | 16 #include "base/threading/platform_thread.h" |
| 18 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 19 #include "content/child/child_process.h" | 18 #include "content/child/child_process.h" |
| 20 #include "content/common/child_process_messages.h" | 19 #include "content/common/child_process_messages.h" |
| 21 #include "content/common/sandbox_util.h" | 20 #include "content/common/sandbox_util.h" |
| 22 #include "content/ppapi_plugin/broker_process_dispatcher.h" | 21 #include "content/ppapi_plugin/broker_process_dispatcher.h" |
| 23 #include "content/ppapi_plugin/plugin_process_dispatcher.h" | 22 #include "content/ppapi_plugin/plugin_process_dispatcher.h" |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 histogram_name.str(), | 495 histogram_name.str(), |
| 497 1, | 496 1, |
| 498 LOAD_RESULT_MAX, | 497 LOAD_RESULT_MAX, |
| 499 LOAD_RESULT_MAX + 1, | 498 LOAD_RESULT_MAX + 1, |
| 500 base::HistogramBase::kUmaTargetedHistogramFlag); | 499 base::HistogramBase::kUmaTargetedHistogramFlag); |
| 501 | 500 |
| 502 histogram->Add(result); | 501 histogram->Add(result); |
| 503 } | 502 } |
| 504 | 503 |
| 505 } // namespace content | 504 } // namespace content |
| OLD | NEW |