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

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

Issue 1321733004: Use the site engagement eviction policy for temporary storage eviction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_eviction_policy
Patch Set: Created 5 years, 3 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
« 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 ui::SelectFilePolicy* CreateSelectFilePolicy( 234 ui::SelectFilePolicy* CreateSelectFilePolicy(
235 content::WebContents* web_contents) override; 235 content::WebContents* web_contents) override;
236 void GetAdditionalAllowedSchemesForFileSystem( 236 void GetAdditionalAllowedSchemesForFileSystem(
237 std::vector<std::string>* additional_schemes) override; 237 std::vector<std::string>* additional_schemes) override;
238 void GetURLRequestAutoMountHandlers( 238 void GetURLRequestAutoMountHandlers(
239 std::vector<storage::URLRequestAutoMountHandler>* handlers) override; 239 std::vector<storage::URLRequestAutoMountHandler>* handlers) override;
240 void GetAdditionalFileSystemBackends( 240 void GetAdditionalFileSystemBackends(
241 content::BrowserContext* browser_context, 241 content::BrowserContext* browser_context,
242 const base::FilePath& storage_partition_path, 242 const base::FilePath& storage_partition_path,
243 ScopedVector<storage::FileSystemBackend>* additional_backends) override; 243 ScopedVector<storage::FileSystemBackend>* additional_backends) override;
244 storage::QuotaEvictionPolicy* GetTemporaryStorageEvictionPolicy(
245 content::BrowserContext* browser_context) override;
244 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; 246 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override;
245 content::TracingDelegate* GetTracingDelegate() override; 247 content::TracingDelegate* GetTracingDelegate() override;
246 bool IsPluginAllowedToCallRequestOSFileHandle( 248 bool IsPluginAllowedToCallRequestOSFileHandle(
247 content::BrowserContext* browser_context, 249 content::BrowserContext* browser_context,
248 const GURL& url) override; 250 const GURL& url) override;
249 bool IsPluginAllowedToUseDevChannelAPIs( 251 bool IsPluginAllowedToUseDevChannelAPIs(
250 content::BrowserContext* browser_context, 252 content::BrowserContext* browser_context,
251 const GURL& url) override; 253 const GURL& url) override;
252 void OverridePageVisibilityState( 254 void OverridePageVisibilityState(
253 content::RenderFrameHost* render_frame_host, 255 content::RenderFrameHost* render_frame_host,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 334 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
333 335
334 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 336 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
335 337
336 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 338 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
337 }; 339 };
338 340
339 } // namespace chrome 341 } // namespace chrome
340 342
341 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 343 #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