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

Side by Side Diff: chromecast/browser/cast_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: InProcessBrowserTest and SetDefaultQuotaSettingsForTesting Created 4 years 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 CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const content::MainFunctionParams& parameters) override; 110 const content::MainFunctionParams& parameters) override;
111 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; 111 void RenderProcessWillLaunch(content::RenderProcessHost* host) override;
112 bool IsHandledURL(const GURL& url) override; 112 bool IsHandledURL(const GURL& url) override;
113 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, 113 void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
114 int child_process_id) override; 114 int child_process_id) override;
115 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, 115 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
116 content::WebPreferences* prefs) override; 116 content::WebPreferences* prefs) override;
117 void ResourceDispatcherHostCreated() override; 117 void ResourceDispatcherHostCreated() override;
118 std::string GetApplicationLocale() override; 118 std::string GetApplicationLocale() override;
119 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; 119 content::QuotaPermissionContext* CreateQuotaPermissionContext() override;
120 void GetQuotaSettings(
121 content::BrowserContext* context,
122 content::StoragePartition* partition,
123 const storage::OptionalQuotaSettingsCallback& callback) override;
120 void AllowCertificateError( 124 void AllowCertificateError(
121 content::WebContents* web_contents, 125 content::WebContents* web_contents,
122 int cert_error, 126 int cert_error,
123 const net::SSLInfo& ssl_info, 127 const net::SSLInfo& ssl_info,
124 const GURL& request_url, 128 const GURL& request_url,
125 content::ResourceType resource_type, 129 content::ResourceType resource_type,
126 bool overridable, 130 bool overridable,
127 bool strict_enforcement, 131 bool strict_enforcement,
128 bool expired_previous_decision, 132 bool expired_previous_decision,
129 const base::Callback<void(content::CertificateRequestResultType)>& 133 const base::Callback<void(content::CertificateRequestResultType)>&
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 CastBrowserMainParts* cast_browser_main_parts_; 209 CastBrowserMainParts* cast_browser_main_parts_;
206 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; 210 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_;
207 211
208 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 212 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
209 }; 213 };
210 214
211 } // namespace shell 215 } // namespace shell
212 } // namespace chromecast 216 } // namespace chromecast
213 217
214 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ 218 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698