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 "chrome/common/extensions/extension.h" | 12 #include "extensions/common/extension.h" |
13 | 13 |
14 class Browser; | 14 class Browser; |
15 class ExtensionService; | 15 class ExtensionService; |
16 | 16 |
17 class ExtensionErrorUIDefault : public ExtensionErrorUI { | 17 class ExtensionErrorUIDefault : public ExtensionErrorUI { |
18 public: | 18 public: |
19 explicit ExtensionErrorUIDefault(ExtensionService* extension_service); | 19 explicit ExtensionErrorUIDefault(ExtensionService* extension_service); |
20 virtual ~ExtensionErrorUIDefault(); | 20 virtual ~ExtensionErrorUIDefault(); |
21 | 21 |
22 // ExtensionErrorUI implementation: | 22 // ExtensionErrorUI implementation: |
(...skipping 28 matching lines...) Expand all Loading... |
51 | 51 |
52 // The browser the bubble view was shown into. | 52 // The browser the bubble view was shown into. |
53 Browser* browser_; | 53 Browser* browser_; |
54 | 54 |
55 scoped_ptr<ExtensionGlobalError> global_error_; | 55 scoped_ptr<ExtensionGlobalError> global_error_; |
56 | 56 |
57 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUIDefault); | 57 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUIDefault); |
58 }; | 58 }; |
59 | 59 |
60 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_DEFAULT_H_ | 60 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_DEFAULT_H_ |
OLD | NEW |