| 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 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | |
| 11 #include "chrome/browser/chrome_browser_main_extra_parts.h" | 10 #include "chrome/browser/chrome_browser_main_extra_parts.h" |
| 12 | 11 |
| 13 class ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts { | 12 class ChromeBrowserMainExtraPartsAsh : public ChromeBrowserMainExtraParts { |
| 14 public: | 13 public: |
| 15 ChromeBrowserMainExtraPartsAsh(); | 14 ChromeBrowserMainExtraPartsAsh(); |
| 16 virtual ~ChromeBrowserMainExtraPartsAsh(); | 15 virtual ~ChromeBrowserMainExtraPartsAsh(); |
| 17 | 16 |
| 18 // Overridden from ChromeBrowserMainExtraParts: | 17 // Overridden from ChromeBrowserMainExtraParts: |
| 19 virtual void PreProfileInit() OVERRIDE; | 18 virtual void PreProfileInit() OVERRIDE; |
| 20 virtual void PostProfileInit() OVERRIDE; | 19 virtual void PostProfileInit() OVERRIDE; |
| 21 virtual void PostMainMessageLoopRun() OVERRIDE; | 20 virtual void PostMainMessageLoopRun() OVERRIDE; |
| 22 | 21 |
| 23 private: | 22 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh); | 23 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAsh); |
| 25 }; | 24 }; |
| 26 | 25 |
| 27 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ | 26 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_BROWSER_MAIN_EXTRA_PARTS_ASH_H_ |
| OLD | NEW |