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

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

Issue 2916323004: Expose GetLoggingFileName in ContentBrowserClient. (Closed)
Patch Set: Move function order to match header 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.
Charlie Reis 2017/06/06 17:14:10 Might be worth mentioning why this is useful (e.g.
Greg K 2017/06/06 17:18:17 Done.
324 virtual base::FilePath GetLoggingFileName();
325
323 // Allow the embedder to control if an AppCache can be used for the given url. 326 // Allow the embedder to control if an AppCache can be used for the given url.
324 // This is called on the IO thread. 327 // This is called on the IO thread.
325 virtual bool AllowAppCache(const GURL& manifest_url, 328 virtual bool AllowAppCache(const GURL& manifest_url,
326 const GURL& first_party, 329 const GURL& first_party,
327 ResourceContext* context); 330 ResourceContext* context);
328 331
329 // Allow the embedder to control if a Service Worker can be associated 332 // Allow the embedder to control if a Service Worker can be associated
330 // with the given scope. 333 // with the given scope.
331 // A null |wc_getter| callback indicates this is for starting a service 334 // A null |wc_getter| callback indicates this is for starting a service
332 // worker, which is not necessarily associated with a particular tab. 335 // worker, which is not necessarily associated with a particular tab.
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 virtual bool ShouldRedirectDOMStorageTaskRunner(); 816 virtual bool ShouldRedirectDOMStorageTaskRunner();
814 817
815 // If this returns true, all BrowserThreads (but UI/IO) that support it on 818 // If this returns true, all BrowserThreads (but UI/IO) that support it on
816 // this platform will experimentally be redirected to TaskScheduler. 819 // this platform will experimentally be redirected to TaskScheduler.
817 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler(); 820 virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
818 }; 821 };
819 822
820 } // namespace content 823 } // namespace content
821 824
822 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 825 #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