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

Side by Side Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.h

Issue 8289021: chromeos: Change all clients of LoginLibrary to use SessionManagerClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renamed Created 9 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 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/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #if defined(TOOLKIT_USES_GTK) 9 #if defined(TOOLKIT_USES_GTK)
10 #include "chrome/browser/chrome_browser_main_gtk.h" 10 #include "chrome/browser/chrome_browser_main_gtk.h"
11 typedef ChromeBrowserMainPartsGtk ChromeBrowserMainPartsBase; 11 typedef ChromeBrowserMainPartsGtk ChromeBrowserMainPartsBase;
12 #else 12 #else
13 #include "chrome/browser/chrome_browser_main_posix.h" 13 #include "chrome/browser/chrome_browser_main_posix.h"
14 #include "chrome/browser/chrome_browser_main_x11.h" 14 #include "chrome/browser/chrome_browser_main_x11.h"
15 typedef ChromeBrowserMainPartsPosix ChromeBrowserMainPartsBase; 15 typedef ChromeBrowserMainPartsPosix ChromeBrowserMainPartsBase;
16 #endif 16 #endif
17 17
18 namespace chromeos { 18 namespace chromeos {
19 class BrightnessObserver; 19 class BrightnessObserver;
20 class SessionManagerObserver;
20 } // namespace chromeos 21 } // namespace chromeos
21 22
22 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsBase { 23 class ChromeBrowserMainPartsChromeos : public ChromeBrowserMainPartsBase {
23 public: 24 public:
24 explicit ChromeBrowserMainPartsChromeos(const MainFunctionParams& parameters); 25 explicit ChromeBrowserMainPartsChromeos(const MainFunctionParams& parameters);
25 26
26 virtual ~ChromeBrowserMainPartsChromeos(); 27 virtual ~ChromeBrowserMainPartsChromeos();
27 28
28 virtual void PreEarlyInitialization() OVERRIDE; 29 virtual void PreEarlyInitialization() OVERRIDE;
29 virtual void PreMainMessageLoopStart() OVERRIDE; 30 virtual void PreMainMessageLoopStart() OVERRIDE;
30 virtual void PreMainMessageLoopRun() OVERRIDE; 31 virtual void PreMainMessageLoopRun() OVERRIDE;
31 virtual void PostMainMessageLoopStart() OVERRIDE; 32 virtual void PostMainMessageLoopStart() OVERRIDE;
32 33
33 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos);
34
35 private: 34 private:
36 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_; 35 scoped_ptr<chromeos::BrightnessObserver> brightness_observer_;
36 scoped_ptr<chromeos::SessionManagerObserver> session_manager_observer_;
37 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsChromeos);
37 }; 38 };
38 39
39 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_ 40 #endif // CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698