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

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

Issue 186023002: DO NOT REVIEW Plumb push messaging registration through to gcm. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 years, 9 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
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 77
78 class AccessTokenStore; 78 class AccessTokenStore;
79 class BrowserChildProcessHost; 79 class BrowserChildProcessHost;
80 class BrowserContext; 80 class BrowserContext;
81 class BrowserMainParts; 81 class BrowserMainParts;
82 class BrowserPluginGuestDelegate; 82 class BrowserPluginGuestDelegate;
83 class BrowserPpapiHost; 83 class BrowserPpapiHost;
84 class BrowserURLHandler; 84 class BrowserURLHandler;
85 class LocationProvider; 85 class LocationProvider;
86 class MediaObserver; 86 class MediaObserver;
87 class PushMessagingService;
87 class QuotaPermissionContext; 88 class QuotaPermissionContext;
88 class RenderProcessHost; 89 class RenderProcessHost;
89 class RenderViewHost; 90 class RenderViewHost;
90 class RenderViewHostDelegateView; 91 class RenderViewHostDelegateView;
91 class ResourceContext; 92 class ResourceContext;
92 class SiteInstance; 93 class SiteInstance;
93 class SpeechRecognitionManagerDelegate; 94 class SpeechRecognitionManagerDelegate;
94 class VibrationProvider; 95 class VibrationProvider;
95 class WebContents; 96 class WebContents;
96 class WebContentsViewDelegate; 97 class WebContentsViewDelegate;
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 489
489 // Notifies the embedder that the ResourceDispatcherHost has been created. 490 // Notifies the embedder that the ResourceDispatcherHost has been created.
490 // This is when it can optionally add a delegate. 491 // This is when it can optionally add a delegate.
491 virtual void ResourceDispatcherHostCreated() {} 492 virtual void ResourceDispatcherHostCreated() {}
492 493
493 // Allows the embedder to return a delegate for the SpeechRecognitionManager. 494 // Allows the embedder to return a delegate for the SpeechRecognitionManager.
494 // The delegate will be owned by the manager. It's valid to return NULL. 495 // The delegate will be owned by the manager. It's valid to return NULL.
495 virtual SpeechRecognitionManagerDelegate* 496 virtual SpeechRecognitionManagerDelegate*
496 GetSpeechRecognitionManagerDelegate(); 497 GetSpeechRecognitionManagerDelegate();
497 498
499 // Allows the embedder to provide an implementation of PushMessagingService.
500 // Ownership is transferred to the caller. It's valid to return NULL.
501 virtual PushMessagingService* CreatePushMessagingService(
502 BrowserContext* browser_context);
503
498 // Getters for common objects. 504 // Getters for common objects.
499 virtual net::NetLog* GetNetLog(); 505 virtual net::NetLog* GetNetLog();
500 506
501 // Creates a new AccessTokenStore for gelocation. 507 // Creates a new AccessTokenStore for gelocation.
502 virtual AccessTokenStore* CreateAccessTokenStore(); 508 virtual AccessTokenStore* CreateAccessTokenStore();
503 509
504 // Returns true if fast shutdown is possible. 510 // Returns true if fast shutdown is possible.
505 virtual bool IsFastShutdownPossible(); 511 virtual bool IsFastShutdownPossible();
506 512
507 // Called by WebContents to override the WebKit preferences that are used by 513 // Called by WebContents to override the WebKit preferences that are used by
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 content::BrowserContext* browser_context, 623 content::BrowserContext* browser_context,
618 const GURL& url); 624 const GURL& url);
619 625
620 // Returns true if dev channel APIs are available for plugins. 626 // Returns true if dev channel APIs are available for plugins.
621 virtual bool IsPluginAllowedToUseDevChannelAPIs(); 627 virtual bool IsPluginAllowedToUseDevChannelAPIs();
622 }; 628 };
623 629
624 } // namespace content 630 } // namespace content
625 631
626 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 632 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_renderer.gypi ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698