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

Side by Side 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 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // This is called on the UI and IO threads. 313 // This is called on the UI and IO threads.
314 virtual std::string GetApplicationLocale(); 314 virtual std::string GetApplicationLocale();
315 315
316 // Returns the languages used in the Accept-Languages HTTP header. 316 // Returns the languages used in the Accept-Languages HTTP header.
317 // (Not called GetAcceptLanguages so it doesn't clash with win32). 317 // (Not called GetAcceptLanguages so it doesn't clash with win32).
318 virtual std::string GetAcceptLangs(BrowserContext* context); 318 virtual std::string GetAcceptLangs(BrowserContext* context);
319 319
320 // Returns the default favicon. The callee doesn't own the given bitmap. 320 // Returns the default favicon. The callee doesn't own the given bitmap.
321 virtual const gfx::ImageSkia* GetDefaultFavicon(); 321 virtual const gfx::ImageSkia* GetDefaultFavicon();
322 322
323 // Returns the fully qualified path to the log file name, or an empty path.
324 // This function is used by the sandbox to allow write access to the log.
325 virtual base::FilePath GetLoggingFileName();
326
323 // Allow the embedder to control if an AppCache can be used for the given url. 327 // Allow the embedder to control if an AppCache can be used for the given url.
324 // This is called on the IO thread. 328 // This is called on the IO thread.
325 virtual bool AllowAppCache(const GURL& manifest_url, 329 virtual bool AllowAppCache(const GURL& manifest_url,
326 const GURL& first_party, 330 const GURL& first_party,
327 ResourceContext* context); 331 ResourceContext* context);
328 332
329 // Allow the embedder to control if a Service Worker can be associated 333 // Allow the embedder to control if a Service Worker can be associated
330 // with the given scope. 334 // with the given scope.
331 // A null |wc_getter| callback indicates this is for starting a service 335 // A null |wc_getter| callback indicates this is for starting a service
332 // worker, which is not necessarily associated with a particular tab. 336 // worker, which is not necessarily associated with a particular tab.
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 virtual std::unique_ptr<base::TaskScheduler::InitParams> 797 virtual std::unique_ptr<base::TaskScheduler::InitParams>
794 GetTaskSchedulerInitParams(); 798 GetTaskSchedulerInitParams();
795 799
796 // Performs any necessary PostTask API redirection to the task scheduler. 800 // Performs any necessary PostTask API redirection to the task scheduler.
797 virtual void PerformExperimentalTaskSchedulerRedirections() {} 801 virtual void PerformExperimentalTaskSchedulerRedirections() {}
798 }; 802 };
799 803
800 } // namespace content 804 } // namespace content
801 805
802 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 806 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« 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