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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 7328029: Use process-per-app-instance for hosted apps without background permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix incognito function. Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/browser/content_browser_client.h" 10 #include "content/browser/content_browser_client.h"
11 11
12 class QuotaPermissionContext; 12 class QuotaPermissionContext;
13 13
14 namespace chrome { 14 namespace chrome {
15 15
16 class ChromeContentBrowserClient : public content::ContentBrowserClient { 16 class ChromeContentBrowserClient : public content::ContentBrowserClient {
17 public: 17 public:
18 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE; 18 virtual void RenderViewHostCreated(RenderViewHost* render_view_host) OVERRIDE;
19 virtual void BrowserRenderProcessHostCreated( 19 virtual void BrowserRenderProcessHostCreated(
20 BrowserRenderProcessHost* host) OVERRIDE; 20 BrowserRenderProcessHost* host) OVERRIDE;
21 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE; 21 virtual void PluginProcessHostCreated(PluginProcessHost* host) OVERRIDE;
22 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE; 22 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) OVERRIDE;
23 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE; 23 virtual content::WebUIFactory* GetWebUIFactory() OVERRIDE;
24 virtual bool ShouldUseProcessPerSite(Profile* profile,
25 const GURL& effective_url) OVERRIDE;
24 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) OVERRIDE; 26 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) OVERRIDE;
25 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE; 27 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) OVERRIDE;
26 virtual std::string GetCanonicalEncodingNameByAliasName( 28 virtual std::string GetCanonicalEncodingNameByAliasName(
27 const std::string& alias_name) OVERRIDE; 29 const std::string& alias_name) OVERRIDE;
28 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line, 30 virtual void AppendExtraCommandLineSwitches(CommandLine* command_line,
29 int child_process_id) OVERRIDE; 31 int child_process_id) OVERRIDE;
30 virtual std::string GetApplicationLocale() OVERRIDE; 32 virtual std::string GetApplicationLocale() OVERRIDE;
31 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE; 33 virtual std::string GetAcceptLangs(const TabContents* tab) OVERRIDE;
32 virtual SkBitmap* GetDefaultFavicon() OVERRIDE; 34 virtual SkBitmap* GetDefaultFavicon() OVERRIDE;
33 virtual bool AllowAppCache(const GURL& manifest_url, 35 virtual bool AllowAppCache(const GURL& manifest_url,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 #if defined(USE_NSS) 101 #if defined(USE_NSS)
100 virtual 102 virtual
101 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 103 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
102 const GURL& url) OVERRIDE; 104 const GURL& url) OVERRIDE;
103 #endif 105 #endif
104 }; 106 };
105 107
106 } // namespace chrome 108 } // namespace chrome
107 109
108 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 110 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698