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_EXTENSIONS_EXTENSION_ERROR_UI_DEFAULT_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_DEFAULT_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_DEFAULT_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_DEFAULT_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 "chrome/browser/extensions/extension_error_ui.h" | 10 #include "chrome/browser/extensions/extension_error_ui.h" |
11 #include "chrome/browser/ui/global_error/global_error.h" | 11 #include "chrome/browser/ui/global_error/global_error.h" |
12 #include "extensions/common/extension.h" | 12 #include "extensions/common/extension.h" |
13 | 13 |
14 class Browser; | 14 class Browser; |
15 class ExtensionService; | |
16 class Profile; | 15 class Profile; |
17 | 16 |
18 namespace extensions { | 17 namespace extensions { |
19 | 18 |
20 class ExtensionErrorUIDefault : public ExtensionErrorUI { | 19 class ExtensionErrorUIDefault : public ExtensionErrorUI { |
21 public: | 20 public: |
22 explicit ExtensionErrorUIDefault(ExtensionErrorUI::Delegate* delegate); | 21 explicit ExtensionErrorUIDefault(ExtensionErrorUI::Delegate* delegate); |
23 virtual ~ExtensionErrorUIDefault(); | 22 virtual ~ExtensionErrorUIDefault(); |
24 | 23 |
25 // ExtensionErrorUI implementation: | 24 // ExtensionErrorUI implementation: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 Browser* browser_; | 58 Browser* browser_; |
60 | 59 |
61 scoped_ptr<ExtensionGlobalError> global_error_; | 60 scoped_ptr<ExtensionGlobalError> global_error_; |
62 | 61 |
63 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUIDefault); | 62 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUIDefault); |
64 }; | 63 }; |
65 | 64 |
66 } // namespace extensions | 65 } // namespace extensions |
67 | 66 |
68 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_DEFAULT_H_ | 67 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_DEFAULT_H_ |
OLD | NEW |