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

Side by Side Diff: chrome/browser/plugins/plugin_observer.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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 (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/browser/plugins/plugin_observer.h" 5 #include "chrome/browser/plugins/plugin_observer.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/plugins/plugin_finder.h" 21 #include "chrome/browser/plugins/plugin_finder.h"
22 #include "chrome/browser/plugins/plugin_infobar_delegates.h" 22 #include "chrome/browser/plugins/plugin_infobar_delegates.h"
23 #include "chrome/browser/plugins/plugin_installer.h" 23 #include "chrome/browser/plugins/plugin_installer.h"
24 #include "chrome/browser/plugins/plugin_installer_observer.h" 24 #include "chrome/browser/plugins/plugin_installer_observer.h"
25 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
26 #include "chrome/browser/ui/tab_modal_confirm_dialog.h" 26 #include "chrome/browser/ui/tab_modal_confirm_dialog.h"
27 #include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h" 27 #include "chrome/browser/ui/tab_modal_confirm_dialog_delegate.h"
28 #include "chrome/common/features.h" 28 #include "chrome/common/features.h"
29 #include "chrome/common/render_messages.h" 29 #include "chrome/common/render_messages.h"
30 #include "chrome/grit/generated_resources.h" 30 #include "chrome/grit/generated_resources.h"
31 #include "chrome/grit/theme_resources.h"
32 #include "components/component_updater/component_updater_service.h" 31 #include "components/component_updater/component_updater_service.h"
33 #include "components/content_settings/core/browser/host_content_settings_map.h" 32 #include "components/content_settings/core/browser/host_content_settings_map.h"
34 #include "components/infobars/core/confirm_infobar_delegate.h" 33 #include "components/infobars/core/confirm_infobar_delegate.h"
35 #include "components/infobars/core/infobar.h" 34 #include "components/infobars/core/infobar.h"
36 #include "components/infobars/core/infobar_delegate.h" 35 #include "components/infobars/core/infobar_delegate.h"
37 #include "components/infobars/core/simple_alert_infobar_delegate.h" 36 #include "components/infobars/core/simple_alert_infobar_delegate.h"
38 #include "components/metrics_services_manager/metrics_services_manager.h" 37 #include "components/metrics_services_manager/metrics_services_manager.h"
39 #include "content/public/browser/browser_thread.h" 38 #include "content/public/browser/browser_thread.h"
40 #include "content/public/browser/plugin_service.h" 39 #include "content/public/browser/plugin_service.h"
41 #include "content/public/browser/render_frame_host.h" 40 #include "content/public/browser/render_frame_host.h"
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 plugin_path); 328 plugin_path);
330 base::string16 plugin_name = 329 base::string16 plugin_name =
331 PluginService::GetInstance()->GetPluginDisplayNameByPath(plugin_path); 330 PluginService::GetInstance()->GetPluginDisplayNameByPath(plugin_path);
332 SimpleAlertInfoBarDelegate::Create( 331 SimpleAlertInfoBarDelegate::Create(
333 InfoBarService::FromWebContents(web_contents()), 332 InfoBarService::FromWebContents(web_contents()),
334 infobars::InfoBarDelegate::PLUGIN_OBSERVER, &kExtensionCrashedIcon, 333 infobars::InfoBarDelegate::PLUGIN_OBSERVER, &kExtensionCrashedIcon,
335 l10n_util::GetStringFUTF16(IDS_PLUGIN_INITIALIZATION_ERROR_PROMPT, 334 l10n_util::GetStringFUTF16(IDS_PLUGIN_INITIALIZATION_ERROR_PROMPT,
336 plugin_name), 335 plugin_name),
337 true); 336 true);
338 } 337 }
OLDNEW
« no previous file with comments | « chrome/browser/plugins/plugin_infobar_delegates.cc ('k') | chrome/browser/prerender/prerender_nostate_prefetch_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698