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

Side by Side Diff: extensions/shell/browser/shell_nacl_browser_delegate.cc

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, 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 unified diff | Download patch
« no previous file with comments | « extensions/shell/browser/shell_nacl_browser_delegate.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "extensions/shell/browser/shell_nacl_browser_delegate.h" 5 #include "extensions/shell/browser/shell_nacl_browser_delegate.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 // A version change triggers an update of the NaCl validation caches. 119 // A version change triggers an update of the NaCl validation caches.
120 // Example version: "39.0.2129.0 (290550)". 120 // Example version: "39.0.2129.0 (290550)".
121 return PRODUCT_VERSION " (" LAST_CHANGE ")"; 121 return PRODUCT_VERSION " (" LAST_CHANGE ")";
122 } 122 }
123 123
124 ppapi::host::HostFactory* ShellNaClBrowserDelegate::CreatePpapiHostFactory( 124 ppapi::host::HostFactory* ShellNaClBrowserDelegate::CreatePpapiHostFactory(
125 content::BrowserPpapiHost* ppapi_host) { 125 content::BrowserPpapiHost* ppapi_host) {
126 return NULL; 126 return NULL;
127 } 127 }
128 128
129 void ShellNaClBrowserDelegate::SetDebugPatterns(std::string debug_patterns) { 129 void ShellNaClBrowserDelegate::SetDebugPatterns(
130 const std::string& debug_patterns) {
130 // No debugger support. Developers should use Chrome for debugging. 131 // No debugger support. Developers should use Chrome for debugging.
131 } 132 }
132 133
133 bool ShellNaClBrowserDelegate::URLMatchesDebugPatterns( 134 bool ShellNaClBrowserDelegate::URLMatchesDebugPatterns(
134 const GURL& manifest_url) { 135 const GURL& manifest_url) {
135 // No debugger support. Developers should use Chrome for debugging. 136 // No debugger support. Developers should use Chrome for debugging.
136 return false; 137 return false;
137 } 138 }
138 139
139 // This function is security sensitive. Be sure to check with a security 140 // This function is security sensitive. Be sure to check with a security
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 return base::Bind(&OnKeepalive); 187 return base::Bind(&OnKeepalive);
187 } 188 }
188 189
189 bool ShellNaClBrowserDelegate::IsNonSfiModeAllowed( 190 bool ShellNaClBrowserDelegate::IsNonSfiModeAllowed(
190 const base::FilePath& profile_directory, 191 const base::FilePath& profile_directory,
191 const GURL& manifest_url) { 192 const GURL& manifest_url) {
192 return false; 193 return false;
193 } 194 }
194 195
195 } // namespace extensions 196 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_nacl_browser_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698