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

Side by Side Diff: chrome/browser/chrome_browser_main_linux.h

Issue 10332190: Add SystemMonitor::GetMediaDevices() (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 7 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 // Contains functions used by BrowserMain() that are linux-specific. 5 // Contains functions used by BrowserMain() that are linux-specific.
6 6
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
9 #pragma once 9 #pragma once
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/ref_counted.h"
13 #include "chrome/browser/chrome_browser_main_posix.h" 12 #include "chrome/browser/chrome_browser_main_posix.h"
14 13
15 namespace chrome { 14 namespace chrome {
16 class MediaDeviceNotificationsLinux; 15 class MediaDeviceNotificationsLinux;
17 } 16 }
18 17
19 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix { 18 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix {
20 public: 19 public:
21 explicit ChromeBrowserMainPartsLinux( 20 explicit ChromeBrowserMainPartsLinux(
22 const content::MainFunctionParams& parameters); 21 const content::MainFunctionParams& parameters);
23 virtual ~ChromeBrowserMainPartsLinux(); 22 virtual ~ChromeBrowserMainPartsLinux();
24 23
25 // ChromeBrowserMainParts overrides. 24 // ChromeBrowserMainParts overrides.
26 virtual void PreProfileInit() OVERRIDE; 25 virtual void PreProfileInit() OVERRIDE;
27 26
28 private: 27 private:
29 scoped_refptr<chrome::MediaDeviceNotificationsLinux>
vandebo (ex-Chrome) 2012/05/17 21:17:08 Why move the notifiers into the consumer class? T
30 media_device_notifications_linux_;
31
32 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux); 28 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux);
33 }; 29 };
34 30
35 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ 31 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698