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

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 11759020: Implement a TODO in the media code: Change a "const MediaStreamRequest*" arg in various APIs to "co… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
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 CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 bool user_gesture, 166 bool user_gesture,
167 bool* was_blocked) OVERRIDE; 167 bool* was_blocked) OVERRIDE;
168 virtual void CloseContents(content::WebContents* contents) OVERRIDE; 168 virtual void CloseContents(content::WebContents* contents) OVERRIDE;
169 virtual void OnStartDownload(content::WebContents* source, 169 virtual void OnStartDownload(content::WebContents* source,
170 content::DownloadItem* download) OVERRIDE; 170 content::DownloadItem* download) OVERRIDE;
171 virtual void WebIntentDispatch( 171 virtual void WebIntentDispatch(
172 content::WebContents* web_contents, 172 content::WebContents* web_contents,
173 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE; 173 content::WebIntentsDispatcher* intents_dispatcher) OVERRIDE;
174 virtual void RequestMediaAccessPermission( 174 virtual void RequestMediaAccessPermission(
175 content::WebContents* web_contents, 175 content::WebContents* web_contents,
176 const content::MediaStreamRequest* request, 176 const content::MediaStreamRequest& request,
177 const content::MediaResponseCallback& callback) OVERRIDE; 177 const content::MediaResponseCallback& callback) OVERRIDE;
178 178
179 // content::NotificationObserver 179 // content::NotificationObserver
180 virtual void Observe(int type, 180 virtual void Observe(int type,
181 const content::NotificationSource& source, 181 const content::NotificationSource& source,
182 const content::NotificationDetails& details) OVERRIDE; 182 const content::NotificationDetails& details) OVERRIDE;
183 183
184 private: 184 private:
185 friend class ProcessCreationQueue; 185 friend class ProcessCreationQueue;
186 186
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 // Used to measure how long it's been since the host was created. 261 // Used to measure how long it's been since the host was created.
262 PerfTimer since_created_; 262 PerfTimer since_created_;
263 263
264 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 264 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
265 }; 265 };
266 266
267 } // namespace extensions 267 } // namespace extensions
268 268
269 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 269 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698