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

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: big delta Created 4 years, 2 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
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override; 165 std::unique_ptr<::media::CdmFactory> CreateCdmFactory() override;
166 void GetAdditionalMappedFilesForChildProcess( 166 void GetAdditionalMappedFilesForChildProcess(
167 const base::CommandLine& command_line, 167 const base::CommandLine& command_line,
168 int child_process_id, 168 int child_process_id,
169 content::FileDescriptorInfo* mappings) override; 169 content::FileDescriptorInfo* mappings) override;
170 #endif // defined(OS_ANDROID) 170 #endif // defined(OS_ANDROID)
171 void GetAdditionalWebUISchemes( 171 void GetAdditionalWebUISchemes(
172 std::vector<std::string>* additional_schemes) override; 172 std::vector<std::string>* additional_schemes) override;
173 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; 173 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
174 174
175 // TODO
176 // void GetTemporaryStorageConfiguration(
177 // content::BrowserContext* context,
178 // const base::FilePath& partition_path, bool is_incognito,
179 // const storage::TemporaryStorageConfigurationCallback& callback)override;
180
175 protected: 181 protected:
176 CastContentBrowserClient(); 182 CastContentBrowserClient();
177 183
178 URLRequestContextFactory* url_request_context_factory() const { 184 URLRequestContextFactory* url_request_context_factory() const {
179 return url_request_context_factory_.get(); 185 return url_request_context_factory_.get();
180 } 186 }
181 187
182 private: 188 private:
183 void AddNetworkHintsMessageFilter(int render_process_id, 189 void AddNetworkHintsMessageFilter(int render_process_id,
184 net::URLRequestContext* context); 190 net::URLRequestContext* context);
(...skipping 18 matching lines...) Expand all
203 CastBrowserMainParts* cast_browser_main_parts_; 209 CastBrowserMainParts* cast_browser_main_parts_;
204 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; 210 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_;
205 211
206 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); 212 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient);
207 }; 213 };
208 214
209 } // namespace shell 215 } // namespace shell
210 } // namespace chromecast 216 } // namespace chromecast
211 217
212 #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