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

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

Issue 10909138: Convert the async device ID getter to a chrome resource host (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
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 <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class URLRequestContext; 47 class URLRequestContext;
48 class X509Certificate; 48 class X509Certificate;
49 } 49 }
50 50
51 namespace content { 51 namespace content {
52 52
53 class AccessTokenStore; 53 class AccessTokenStore;
54 class BrowserChildProcessHost; 54 class BrowserChildProcessHost;
55 class BrowserContext; 55 class BrowserContext;
56 class BrowserMainParts; 56 class BrowserMainParts;
57 class BrowserPpapiHost;
57 class BrowserURLHandler; 58 class BrowserURLHandler;
58 class MediaObserver; 59 class MediaObserver;
59 class QuotaPermissionContext; 60 class QuotaPermissionContext;
60 class RenderProcessHost; 61 class RenderProcessHost;
61 class RenderViewHost; 62 class RenderViewHost;
62 class RenderViewHostDelegateView; 63 class RenderViewHostDelegateView;
63 class ResourceContext; 64 class ResourceContext;
64 class SiteInstance; 65 class SiteInstance;
65 class SpeechInputManagerDelegate; 66 class SpeechInputManagerDelegate;
66 class SpeechRecognitionManagerDelegate; 67 class SpeechRecognitionManagerDelegate;
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 virtual void ClearCookies(RenderViewHost* rvh) {} 428 virtual void ClearCookies(RenderViewHost* rvh) {}
428 429
429 // Returns the default download directory. 430 // Returns the default download directory.
430 // This can be called on any thread. 431 // This can be called on any thread.
431 virtual FilePath GetDefaultDownloadDirectory(); 432 virtual FilePath GetDefaultDownloadDirectory();
432 433
433 // Returns the default filename used in downloads when we have no idea what 434 // Returns the default filename used in downloads when we have no idea what
434 // else we should do with the file. 435 // else we should do with the file.
435 virtual std::string GetDefaultDownloadName(); 436 virtual std::string GetDefaultDownloadName();
436 437
438 // Notifification that a pepper plugin has just been spawned. This allows the
jam 2012/09/10 16:22:21 nit: Notification
439 // embedder to add filters onto the host to implement interfaces.
440 // This is called on the IO thread.
441 virtual void DidCreatePpapiPlugin(BrowserPpapiHost* browser_host) {}
442
437 // Returns true if renderer processes can use Pepper TCP/UDP sockets from 443 // Returns true if renderer processes can use Pepper TCP/UDP sockets from
438 // the given origin. 444 // the given origin.
439 virtual bool AllowPepperSocketAPI(BrowserContext* browser_context, 445 virtual bool AllowPepperSocketAPI(BrowserContext* browser_context,
440 const GURL& url); 446 const GURL& url);
441 447
442 // Returns true if renderer processes can use private Pepper File APIs. 448 // Returns true if renderer processes can use private Pepper File APIs.
443 virtual bool AllowPepperPrivateFileAPI(); 449 virtual bool AllowPepperPrivateFileAPI();
444 450
445 #if defined(OS_POSIX) && !defined(OS_MACOSX) 451 #if defined(OS_POSIX) && !defined(OS_MACOSX)
446 // Populates |mappings| with all files that need to be mapped before launching 452 // Populates |mappings| with all files that need to be mapped before launching
(...skipping 13 matching lines...) Expand all
460 // This is called on a worker thread. 466 // This is called on a worker thread.
461 virtual 467 virtual
462 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 468 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
463 const GURL& url); 469 const GURL& url);
464 #endif 470 #endif
465 }; 471 };
466 472
467 } // namespace content 473 } // namespace content
468 474
469 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 475 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698