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

Side by Side Diff: content/public/browser/content_browser_client.h

Issue 1363523003: Enable SiteEngagementEvictionPolicy behind --enable-site-eviction-policy flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lru_policy_gooood
Patch Set: fix flag dependencies Created 5 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 (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 CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class TargetPolicy; 73 class TargetPolicy;
74 } 74 }
75 75
76 namespace ui { 76 namespace ui {
77 class SelectFilePolicy; 77 class SelectFilePolicy;
78 } 78 }
79 79
80 namespace storage { 80 namespace storage {
81 class ExternalMountPoints; 81 class ExternalMountPoints;
82 class FileSystemBackend; 82 class FileSystemBackend;
83 class QuotaEvictionPolicy;
83 } 84 }
84 85
85 namespace content { 86 namespace content {
86 87
87 enum class PermissionType; 88 enum class PermissionType;
88 class AccessTokenStore; 89 class AccessTokenStore;
89 class BrowserChildProcessHost; 90 class BrowserChildProcessHost;
90 class BrowserContext; 91 class BrowserContext;
91 class BrowserMainParts; 92 class BrowserMainParts;
92 class BrowserPluginGuestDelegate; 93 class BrowserPluginGuestDelegate;
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 BrowserContext* browser_context, 439 BrowserContext* browser_context,
439 const GURL& site, 440 const GURL& site,
440 bool can_be_default, 441 bool can_be_default,
441 std::string* partition_domain, 442 std::string* partition_domain,
442 std::string* partition_name, 443 std::string* partition_name,
443 bool* in_memory); 444 bool* in_memory);
444 445
445 // Create and return a new quota permission context. 446 // Create and return a new quota permission context.
446 virtual QuotaPermissionContext* CreateQuotaPermissionContext(); 447 virtual QuotaPermissionContext* CreateQuotaPermissionContext();
447 448
449 // Gives the embedder a chance to register a custom QuotaEvictionPolicy for
450 // temporary storage.
451 virtual scoped_ptr<storage::QuotaEvictionPolicy>
452 GetTemporaryStorageEvictionPolicy(content::BrowserContext* context);
jam 2015/11/02 18:36:37 nit: no content::
calamity 2015/11/03 04:26:41 Done.
453
448 // Informs the embedder that a certificate error has occured. If 454 // Informs the embedder that a certificate error has occured. If
449 // |overridable| is true and if |strict_enforcement| is false, the user 455 // |overridable| is true and if |strict_enforcement| is false, the user
450 // can ignore the error and continue. The embedder can call the callback 456 // can ignore the error and continue. The embedder can call the callback
451 // asynchronously. If |result| is not set to 457 // asynchronously. If |result| is not set to
452 // CERTIFICATE_REQUEST_RESULT_TYPE_CONTINUE, the request will be cancelled 458 // CERTIFICATE_REQUEST_RESULT_TYPE_CONTINUE, the request will be cancelled
453 // or denied immediately, and the callback won't be run. 459 // or denied immediately, and the callback won't be run.
454 virtual void AllowCertificateError(int render_process_id, 460 virtual void AllowCertificateError(int render_process_id,
455 int render_frame_id, 461 int render_frame_id,
456 int cert_error, 462 int cert_error,
457 const net::SSLInfo& ssl_info, 463 const net::SSLInfo& ssl_info,
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 745 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
740 // implementation. Return nullptr to disable external surface video. 746 // implementation. Return nullptr to disable external surface video.
741 virtual ExternalVideoSurfaceContainer* 747 virtual ExternalVideoSurfaceContainer*
742 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 748 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
743 #endif 749 #endif
744 }; 750 };
745 751
746 } // namespace content 752 } // namespace content
747 753
748 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 754 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/storage_partition_impl_map.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698