| OLD | NEW |
| 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" |
| 12 #include "chrome/browser/chrome_browser_main_posix.h" | 13 #include "chrome/browser/chrome_browser_main_posix.h" |
| 13 | 14 |
| 15 namespace chrome { |
| 16 class MediaDeviceNotificationsLinux; |
| 17 } |
| 18 |
| 14 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix { | 19 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix { |
| 15 public: | 20 public: |
| 16 explicit ChromeBrowserMainPartsLinux( | 21 explicit ChromeBrowserMainPartsLinux( |
| 17 const content::MainFunctionParams& parameters); | 22 const content::MainFunctionParams& parameters); |
| 18 | 23 |
| 19 // ChromeBrowserMainParts overrides. | 24 // ChromeBrowserMainParts overrides. |
| 20 virtual void PreProfileInit() OVERRIDE; | 25 virtual void PreProfileInit() OVERRIDE; |
| 21 | 26 |
| 22 private: | 27 private: |
| 28 scoped_refptr<chrome::MediaDeviceNotificationsLinux> |
| 29 media_device_notifications_linux_; |
| 30 |
| 23 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux); | 31 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux); |
| 24 }; | 32 }; |
| 25 | 33 |
| 26 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ | 34 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ |
| OLD | NEW |