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

Unified Diff: chrome/browser/ui/hung_plugin_tab_helper.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_util_mac.h ('k') | chrome/browser/ui/network_profile_bubble.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/hung_plugin_tab_helper.h
diff --git a/chrome/browser/ui/hung_plugin_tab_helper.h b/chrome/browser/ui/hung_plugin_tab_helper.h
index 0cf6b336f1314d25799b3af41a7b57f27aeed48a..51feb42de24d8e34e263ca04f4d100ece6bc13f9 100644
--- a/chrome/browser/ui/hung_plugin_tab_helper.h
+++ b/chrome/browser/ui/hung_plugin_tab_helper.h
@@ -17,9 +17,12 @@
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
-class FilePath;
class InfoBarDelegate;
+namespace base {
+class FilePath;
+}
+
// Manages per-tab state with regard to hung plugins. This only handles
// Pepper plugins which we know are windowless. Hung NPAPI plugins (which
// may have native windows) can not be handled with infobars and have a
@@ -40,10 +43,10 @@ class HungPluginTabHelper
virtual ~HungPluginTabHelper();
// content::WebContentsObserver overrides:
- virtual void PluginCrashed(const FilePath& plugin_path,
+ virtual void PluginCrashed(const base::FilePath& plugin_path,
base::ProcessId plugin_pid) OVERRIDE;
virtual void PluginHungStatusChanged(int plugin_child_id,
- const FilePath& plugin_path,
+ const base::FilePath& plugin_path,
bool is_hung) OVERRIDE;
// NotificationObserver overrides.
@@ -64,10 +67,10 @@ class HungPluginTabHelper
// not we're currently showing the infobar.
struct PluginState {
// Initializes the plugin state to be a hung plugin.
- PluginState(const FilePath& p, const string16& n);
+ PluginState(const base::FilePath& p, const string16& n);
~PluginState();
- FilePath path;
+ base::FilePath path;
string16 name;
// Possibly-null if we're not showing an infobar right now.
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_util_mac.h ('k') | chrome/browser/ui/network_profile_bubble.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698