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

Unified Diff: content/browser/plugin_data_remover_impl.cc

Issue 12213066: Use base namespace for FilePath in content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « content/browser/plugin_browsertest.cc ('k') | content/browser/plugin_data_remover_impl_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_data_remover_impl.cc
diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc
index 7b8effcc0a9d1d47c244125010997aad13396b89..e1efc1f82b56e47e05ed8c54526b1d9bbfc345bf 100644
--- a/content/browser/plugin_data_remover_impl.cc
+++ b/content/browser/plugin_data_remover_impl.cc
@@ -93,7 +93,7 @@ class PluginDataRemoverImpl::Context
std::vector<webkit::WebPluginInfo> plugins;
plugin_service->GetPluginInfoArray(
GURL(), mime_type, false, &plugins, NULL);
- FilePath plugin_path;
+ base::FilePath plugin_path;
if (!plugins.empty()) // May be empty for some tests.
plugin_path = plugins[0].path;
@@ -202,17 +202,18 @@ class PluginDataRemoverImpl::Context
virtual ~Context() {}
IPC::Message* CreatePpapiClearSiteDataMsg(uint64 max_age) {
- FilePath profile_path =
+ base::FilePath profile_path =
PepperFlashFileMessageFilter::GetDataDirName(browser_context_path_);
// TODO(vtl): This "duplicates" logic in webkit/plugins/ppapi/file_path.cc
// (which prepends the plugin name to the relative part of the path
// instead, with the absolute, profile-dependent part being enforced by
// the browser).
#if defined(OS_WIN)
- FilePath plugin_data_path =
- profile_path.Append(FilePath(UTF8ToUTF16(plugin_name_)));
+ base::FilePath plugin_data_path =
+ profile_path.Append(base::FilePath(UTF8ToUTF16(plugin_name_)));
#else
- FilePath plugin_data_path = profile_path.Append(FilePath(plugin_name_));
+ base::FilePath plugin_data_path =
+ profile_path.Append(base::FilePath(plugin_name_));
#endif // defined(OS_WIN)
return new PpapiMsg_ClearSiteData(0u, plugin_data_path, std::string(),
kClearAllData, max_age);
@@ -285,7 +286,7 @@ class PluginDataRemoverImpl::Context
// Path for the current profile. Must be retrieved on the UI thread from the
// browser context when we start so we can use it later on the I/O thread.
- FilePath browser_context_path_;
+ base::FilePath browser_context_path_;
// The resource context for the profile. Use only on the I/O thread.
ResourceContext* resource_context_;
« no previous file with comments | « content/browser/plugin_browsertest.cc ('k') | content/browser/plugin_data_remover_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698