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

Side by Side Diff: content/browser/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 | « content/browser/browsing_instance.cc ('k') | content/browser/site_instance.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 CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // embedder's IPC filters have priority. 79 // embedder's IPC filters have priority.
80 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) = 0; 80 virtual void WorkerProcessHostCreated(WorkerProcessHost* host) = 0;
81 81
82 // Gets the WebUIFactory which will be responsible for generating WebUIs. 82 // Gets the WebUIFactory which will be responsible for generating WebUIs.
83 virtual WebUIFactory* GetWebUIFactory() = 0; 83 virtual WebUIFactory* GetWebUIFactory() = 0;
84 84
85 // Get the effective URL for the given actual URL, to allow an embedder to 85 // Get the effective URL for the given actual URL, to allow an embedder to
86 // group different url schemes in the same SiteInstance. 86 // group different url schemes in the same SiteInstance.
87 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) = 0; 87 virtual GURL GetEffectiveURL(Profile* profile, const GURL& url) = 0;
88 88
89 // Returns whether all instances of the specified effective URL should be
90 // rendered by the same process, rather than using process-per-site-instance.
91 virtual bool ShouldUseProcessPerSite(Profile* profile,
92 const GURL& effective_url) = 0;
93
89 // Returns whether a specified URL is to be considered the same as any 94 // Returns whether a specified URL is to be considered the same as any
90 // SiteInstance. 95 // SiteInstance.
91 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) = 0; 96 virtual bool IsURLSameAsAnySiteInstance(const GURL& url) = 0;
92 97
93 // See CharacterEncoding's comment. 98 // See CharacterEncoding's comment.
94 virtual std::string GetCanonicalEncodingNameByAliasName( 99 virtual std::string GetCanonicalEncodingNameByAliasName(
95 const std::string& alias_name) = 0; 100 const std::string& alias_name) = 0;
96 101
97 // Allows the embedder to pass extra command line flags. 102 // Allows the embedder to pass extra command line flags.
98 // switches::kProcessType will already be set at this point. 103 // switches::kProcessType will already be set at this point.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // This is called on a worker thread. 241 // This is called on a worker thread.
237 virtual 242 virtual
238 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 243 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
239 const GURL& url) = 0; 244 const GURL& url) = 0;
240 #endif 245 #endif
241 }; 246 };
242 247
243 } // namespace content 248 } // namespace content
244 249
245 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 250 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/browsing_instance.cc ('k') | content/browser/site_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698