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

Side by Side Diff: extensions/shell/browser/shell_content_browser_client.h

Issue 1782053004: Change how the quota system computes the total poolsize for temporary storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 1 month 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
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 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/content_browser_client.h" 10 #include "content/public/browser/content_browser_client.h"
(...skipping 25 matching lines...) Expand all
36 36
37 // Returns the single browser context for app_shell. 37 // Returns the single browser context for app_shell.
38 content::BrowserContext* GetBrowserContext(); 38 content::BrowserContext* GetBrowserContext();
39 39
40 // content::ContentBrowserClient overrides. 40 // content::ContentBrowserClient overrides.
41 content::BrowserMainParts* CreateBrowserMainParts( 41 content::BrowserMainParts* CreateBrowserMainParts(
42 const content::MainFunctionParams& parameters) override; 42 const content::MainFunctionParams& parameters) override;
43 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; 43 void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
44 bool ShouldUseProcessPerSite(content::BrowserContext* browser_context, 44 bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
45 const GURL& effective_url) override; 45 const GURL& effective_url) override;
46 // TODO(jamescook): Quota management? 46 // TODO(jamescook): Quota management?
Devlin 2016/11/23 17:04:13 Can we remove this TODO?
michaeln 2016/12/06 00:35:54 Done.
47 void GetQuotaSettings(
48 content::BrowserContext* context,
49 content::StoragePartition* partition,
50 const storage::OptionalQuotaSettingsCallback& callback) override;
47 bool IsHandledURL(const GURL& url) override; 51 bool IsHandledURL(const GURL& url) override;
48 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override; 52 void SiteInstanceGotProcess(content::SiteInstance* site_instance) override;
49 void SiteInstanceDeleting(content::SiteInstance* site_instance) override; 53 void SiteInstanceDeleting(content::SiteInstance* site_instance) override;
50 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 54 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
51 int child_process_id) override; 55 int child_process_id) override;
52 content::SpeechRecognitionManagerDelegate* 56 content::SpeechRecognitionManagerDelegate*
53 CreateSpeechRecognitionManagerDelegate() override; 57 CreateSpeechRecognitionManagerDelegate() override;
54 content::BrowserPpapiHost* GetExternalBrowserPpapiHost( 58 content::BrowserPpapiHost* GetExternalBrowserPpapiHost(
55 int plugin_process_id) override; 59 int plugin_process_id) override;
56 void GetAdditionalAllowedSchemesForFileSystem( 60 void GetAdditionalAllowedSchemesForFileSystem(
(...skipping 22 matching lines...) Expand all
79 83
80 // Owned by ShellBrowserMainParts. 84 // Owned by ShellBrowserMainParts.
81 ShellBrowserMainDelegate* browser_main_delegate_; 85 ShellBrowserMainDelegate* browser_main_delegate_;
82 86
83 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient); 87 DISALLOW_COPY_AND_ASSIGN(ShellContentBrowserClient);
84 }; 88 };
85 89
86 } // namespace extensions 90 } // namespace extensions
87 91
88 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ 92 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698