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

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

Issue 831813004: Get nacl building again for android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment out CheckEnvVar Created 5 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/browser_resources.grd ('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 5907b3f067b3093d991a76eb016268398a53c762..456d5336cd4428b6785f5e0e1eb652e7934dc7cf 100644
--- a/chrome/browser/nacl_host/nacl_browser_delegate_impl.h
+++ b/chrome/browser/nacl_host/nacl_browser_delegate_impl.h
@@ -10,11 +10,14 @@
#include "base/compiler_specific.h"
#include "components/nacl/browser/nacl_browser_delegate.h"
+
+#if defined(ENABLE_EXTENSIONS)
#include "extensions/common/url_pattern.h"
namespace extensions {
class InfoMap;
}
+#endif
class ProfileManager;
@@ -37,7 +40,7 @@ class NaClBrowserDelegateImpl : public NaClBrowserDelegate {
bool is_blocking,
const base::FilePath& profile_directory,
base::FilePath* file_path) override;
- void SetDebugPatterns(std::string debug_patterns) override;
+ void SetDebugPatterns(const std::string& debug_patterns) override;
bool URLMatchesDebugPatterns(const GURL& manifest_url) override;
content::BrowserPpapiHost::OnKeepaliveCallback GetOnKeepaliveCallback()
override;
@@ -48,10 +51,10 @@ class NaClBrowserDelegateImpl : public NaClBrowserDelegate {
#if defined(ENABLE_EXTENSIONS)
scoped_refptr<extensions::InfoMap> GetExtensionInfoMap(
const base::FilePath& profile_directory);
+ std::vector<URLPattern> debug_patterns_;
#endif
ProfileManager* profile_manager_;
- std::vector<URLPattern> debug_patterns_;
bool inverse_debug_patterns_;
std::set<std::string> allowed_nonsfi_origins_;
DISALLOW_COPY_AND_ASSIGN(NaClBrowserDelegateImpl);
« no previous file with comments | « chrome/browser/browser_resources.grd ('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