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

Unified Diff: chrome/browser/nacl_host/nacl_browser_delegate_impl.h

Issue 277463003: Use a proper profile in NaClBrowserDelegateImpl::MapUrlToLocalFilePath (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git cl format Created 6 years, 7 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/chrome_browser_main.cc ('k') | chrome/browser/nacl_host/nacl_browser_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/nacl_host/nacl_browser_delegate_impl.h
diff --git a/chrome/browser/nacl_host/nacl_browser_delegate_impl.h b/chrome/browser/nacl_host/nacl_browser_delegate_impl.h
index 44b0754a4eba053a56dc8a4bb7b612c499cfa451..086e1d88e27d2b3b8eb7f451c707286a6dd7f3ea 100644
--- a/chrome/browser/nacl_host/nacl_browser_delegate_impl.h
+++ b/chrome/browser/nacl_host/nacl_browser_delegate_impl.h
@@ -7,11 +7,13 @@
#include "base/compiler_specific.h"
#include "components/nacl/browser/nacl_browser_delegate.h"
-#include "extensions/browser/info_map.h"
+#include "extensions/common/url_pattern.h"
+
+class ProfileManager;
class NaClBrowserDelegateImpl : public NaClBrowserDelegate {
public:
- explicit NaClBrowserDelegateImpl(extensions::InfoMap* extension_info_map);
+ explicit NaClBrowserDelegateImpl(ProfileManager* profile_manager);
virtual ~NaClBrowserDelegateImpl();
virtual void ShowMissingArchInfobar(int render_process_id,
@@ -26,6 +28,7 @@ class NaClBrowserDelegateImpl : public NaClBrowserDelegate {
content::BrowserPpapiHost* ppapi_host) OVERRIDE;
virtual bool MapUrlToLocalFilePath(const GURL& url,
bool is_blocking,
+ const base::FilePath& profile_directory,
base::FilePath* file_path) OVERRIDE;
virtual void SetDebugPatterns(std::string debug_patterns) OVERRIDE;
virtual bool URLMatchesDebugPatterns(const GURL& manifest_url) OVERRIDE;
@@ -33,7 +36,7 @@ class NaClBrowserDelegateImpl : public NaClBrowserDelegate {
GetOnKeepaliveCallback() OVERRIDE;
private:
- scoped_refptr<extensions::InfoMap> extension_info_map_;
+ ProfileManager* profile_manager_;
std::vector<URLPattern> debug_patterns_;
bool inverse_debug_patterns_;
DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl);
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/nacl_host/nacl_browser_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698