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 "chrome/renderer/chrome_content_renderer_client.h" | 5 #include "chrome/renderer/chrome_content_renderer_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/debug/crash_logging.h" | 8 #include "base/debug/crash_logging.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
12 #include "base/metrics/user_metrics_action.h" | 12 #include "base/metrics/user_metrics_action.h" |
13 #include "base/path_service.h" | |
14 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
15 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
16 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
17 #include "base/values.h" | 16 #include "base/values.h" |
18 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
19 #include "chrome/common/chrome_switches.h" | 18 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/common/chrome_version_info.h" | 19 #include "chrome/common/chrome_version_info.h" |
21 #include "chrome/common/crash_keys.h" | 20 #include "chrome/common/crash_keys.h" |
22 #include "chrome/common/extensions/extension_constants.h" | 21 #include "chrome/common/extensions/extension_constants.h" |
23 #include "chrome/common/localized_error.h" | 22 #include "chrome/common/localized_error.h" |
(...skipping 1572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1596 content::BrowserPluginDelegate* | 1595 content::BrowserPluginDelegate* |
1597 ChromeContentRendererClient::CreateBrowserPluginDelegate( | 1596 ChromeContentRendererClient::CreateBrowserPluginDelegate( |
1598 content::RenderFrame* render_frame, | 1597 content::RenderFrame* render_frame, |
1599 const std::string& mime_type) { | 1598 const std::string& mime_type) { |
1600 #if defined(ENABLE_EXTENSIONS) | 1599 #if defined(ENABLE_EXTENSIONS) |
1601 return new extensions::GuestViewContainer(render_frame, mime_type); | 1600 return new extensions::GuestViewContainer(render_frame, mime_type); |
1602 #else | 1601 #else |
1603 return NULL; | 1602 return NULL; |
1604 #endif | 1603 #endif |
1605 } | 1604 } |
OLD | NEW |