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

Unified Diff: chrome/browser/ui/app_list/start_page_service.h

Issue 59283003: Reland 232311: Embeds offline voice recognizer plugin and its manager to app-list start page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/resources/app_list/start_page.js ('k') | chrome/browser/ui/app_list/start_page_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/start_page_service.h
diff --git a/chrome/browser/ui/app_list/start_page_service.h b/chrome/browser/ui/app_list/start_page_service.h
index 21577424a621bc8c6ecfec600915e281005e2ea6..95ace88a0a9ac83a52bd3da38391f80430af6bbd 100644
--- a/chrome/browser/ui/app_list/start_page_service.h
+++ b/chrome/browser/ui/app_list/start_page_service.h
@@ -44,6 +44,10 @@ class StartPageService : public BrowserContextKeyedService {
// keyed service shutdown.
class ProfileDestroyObserver;
+ // The WebContentsDelegate implementation for the start page. This allows
+ // getUserMedia() request from the web contents.
+ class StartPageWebContentsDelegate;
+
explicit StartPageService(Profile* profile);
virtual ~StartPageService();
@@ -52,6 +56,7 @@ class StartPageService : public BrowserContextKeyedService {
Profile* profile_;
scoped_ptr<content::WebContents> contents_;
+ scoped_ptr<StartPageWebContentsDelegate> contents_delegate_;
scoped_ptr<ProfileDestroyObserver> profile_destroy_observer_;
scoped_ptr<RecommendedApps> recommended_apps_;
« no previous file with comments | « chrome/browser/resources/app_list/start_page.js ('k') | chrome/browser/ui/app_list/start_page_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698