| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" |
| 8 #include "chrome/browser/chrome_browser_main_gtk.h" | 9 #include "chrome/browser/chrome_browser_main_gtk.h" |
| 9 | 10 |
| 11 namespace sensors { |
| 12 class SensorsSourceChromeos; |
| 13 } // namespace sensors |
| 14 |
| 10 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsGtk { | 15 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsGtk { |
| 11 public: | 16 public: |
| 12 explicit ChromeBrowserMainPartsChromeos(const MainFunctionParams& parameters); | 17 explicit ChromeBrowserMainPartsChromeos(const MainFunctionParams& parameters); |
| 13 | 18 |
| 14 virtual ~ChromeBrowserMainPartsChromeos(); | 19 virtual ~ChromeBrowserMainPartsChromeos(); |
| 15 | 20 |
| 16 virtual void PreEarlyInitialization() OVERRIDE; | 21 virtual void PreEarlyInitialization() OVERRIDE; |
| 17 virtual void PreMainMessageLoopStart() OVERRIDE; | 22 virtual void PreMainMessageLoopStart() OVERRIDE; |
| 18 virtual void PostMainMessageLoopStart() OVERRIDE; | 23 virtual void PostMainMessageLoopStart() OVERRIDE; |
| 19 | 24 |
| 20 private: | 25 private: |
| 26 scoped_refptr<sensors::SensorsSourceChromeos> sensors_source_; |
| 27 |
| 21 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); | 28 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos); |
| 22 }; | 29 }; |
| 23 | 30 |
| 24 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ | 31 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ |
| OLD | NEW |