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

Unified Diff: content/public/browser/content_browser_client.h

Issue 2916323004: Expose GetLoggingFileName in ContentBrowserClient. (Closed)
Patch Set: Expose GetLoggingFileName in ContentBrowserClient. Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index b39cd980566a990c7e7b2fb036db52751fe9e0d1..e2b1af451874ae533cc4d2df1835e8b0381441c2 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -320,6 +320,10 @@ class CONTENT_EXPORT ContentBrowserClient {
// Returns the default favicon. The callee doesn't own the given bitmap.
virtual const gfx::ImageSkia* GetDefaultFavicon();
+ // Returns the fully qualified path to the log file name, or an empty path.
+ // This function is used by the sandbox to allow write access to the log.
+ virtual base::FilePath GetLoggingFileName();
+
// Allow the embedder to control if an AppCache can be used for the given url.
// This is called on the IO thread.
virtual bool AllowAppCache(const GURL& manifest_url,
« no previous file with comments | « chrome/browser/chrome_content_browser_client_unittest.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698