Index: chrome/browser/chromeos/file_manager/open_with_browser.cc |
diff --git a/chrome/browser/chromeos/file_manager/open_with_browser.cc b/chrome/browser/chromeos/file_manager/open_with_browser.cc |
index 7384caf32085c2db5669a969834b5fcbb8958ae0..974b34a02d618cb655e76b522e017dbc09bb0142 100644 |
--- a/chrome/browser/chromeos/file_manager/open_with_browser.cc |
+++ b/chrome/browser/chromeos/file_manager/open_with_browser.cc |
@@ -21,7 +21,6 @@ |
#include "chrome/browser/ui/browser_tabstrip.h" |
#include "chrome/browser/ui/browser_window.h" |
#include "chrome/browser/ui/scoped_tabbed_browser_displayer.h" |
-#include "chrome/common/chrome_content_client.h" |
#include "chrome/common/chrome_paths.h" |
#include "chrome/common/chrome_switches.h" |
#include "content/public/browser/browser_thread.h" |
@@ -87,8 +86,8 @@ |
bool IsPdfPluginEnabled(Profile* profile) { |
DCHECK(profile); |
- base::FilePath plugin_path = base::FilePath::FromUTF8Unsafe( |
- ChromeContentClient::kPDFPluginPath); |
+ base::FilePath plugin_path; |
+ PathService::Get(chrome::FILE_PDF_PLUGIN, &plugin_path); |
return IsPepperPluginEnabled(profile, plugin_path); |
} |