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

Unified Diff: extensions/shell/browser/shell_content_browser_client.h

Issue 437503004: Add NaCl support to app_shell (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (nacl-init) rebase Created 6 years, 4 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
Index: extensions/shell/browser/shell_content_browser_client.h
diff --git a/extensions/shell/browser/shell_content_browser_client.h b/extensions/shell/browser/shell_content_browser_client.h
index da884fd4f635d7761d7af679bc40a9e9da9ee388..65aed9926b3d9dbfb0760365c2f3e07371999d63 100644
--- a/extensions/shell/browser/shell_content_browser_client.h
+++ b/extensions/shell/browser/shell_content_browser_client.h
@@ -10,6 +10,10 @@
class GURL;
+namespace base {
+class CommandLine;
+}
+
namespace content {
class BrowserContext;
}
@@ -52,10 +56,20 @@ class ShellContentBrowserClient : public content::ContentBrowserClient {
content::SiteInstance* site_instance) OVERRIDE;
virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
int child_process_id) OVERRIDE;
+ virtual void DidCreatePpapiPlugin(
+ content::BrowserPpapiHost* browser_host) OVERRIDE;
+ virtual content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
+ int plugin_process_id) OVERRIDE;
virtual void GetAdditionalAllowedSchemesForFileSystem(
std::vector<std::string>* additional_schemes) OVERRIDE;
private:
+ // Appends command line switches for a renderer process.
+ void AppendRendererSwitches(base::CommandLine* command_line);
+
+ // Appends command line switches for a zygote process.
+ void AppendZygoteSwitches(base::CommandLine* command_line);
+
// Returns the extension or app associated with |site_instance| or NULL.
const Extension* GetExtension(content::SiteInstance* site_instance);

Powered by Google App Engine
This is Rietveld 408576698