Index: chrome/plugin/chrome_content_plugin_client.cc |
diff --git a/chrome/plugin/chrome_content_plugin_client.cc b/chrome/plugin/chrome_content_plugin_client.cc |
index f9f8f0c90bd9a59f1ec651a63a57f171637fe861..4e1dee7d4b1e43f2835e6bf5feb0d5e140cb386d 100644 |
--- a/chrome/plugin/chrome_content_plugin_client.cc |
+++ b/chrome/plugin/chrome_content_plugin_client.cc |
@@ -17,14 +17,6 @@ |
#endif |
#endif |
-#if defined(OS_MACOSX) |
-#include "base/mac/mac_util.h" |
-#include "base/mac/scoped_cftyperef.h" |
-#include "base/strings/sys_string_conversions.h" |
-#include "grit/chromium_strings.h" |
-#include "ui/base/l10n/l10n_util.h" |
-#endif |
- |
namespace chrome { |
void ChromeContentPluginClient::PreSandboxInitialization() { |
@@ -52,21 +44,4 @@ void ChromeContentPluginClient::PreSandboxInitialization() { |
#endif // defined(ENABLE_REMOTING) |
} |
-void ChromeContentPluginClient::PluginProcessStarted( |
- const string16& plugin_name) { |
-#if defined(OS_MACOSX) |
- base::ScopedCFTypeRef<CFStringRef> cf_plugin_name( |
- base::SysUTF16ToCFStringRef(plugin_name)); |
- base::ScopedCFTypeRef<CFStringRef> app_name(base::SysUTF16ToCFStringRef( |
- l10n_util::GetStringUTF16(IDS_SHORT_PLUGIN_APP_NAME))); |
- base::ScopedCFTypeRef<CFStringRef> process_name( |
- CFStringCreateWithFormat(kCFAllocatorDefault, |
- NULL, |
- CFSTR("%@ (%@)"), |
- cf_plugin_name.get(), |
- app_name.get())); |
- base::mac::SetProcessName(process_name); |
-#endif |
-} |
- |
} // namespace chrome |