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_GLOBAL_ERROR_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "chrome/browser/ui/global_error/global_error.h" | 10 #include "chrome/browser/ui/global_error/global_error.h" |
12 #include "chrome/common/extensions/extension.h" | 11 #include "chrome/common/extensions/extension.h" |
13 | 12 |
14 class Browser; | 13 class Browser; |
15 class ExtensionService; | 14 class ExtensionService; |
16 | 15 |
17 // This class encapsulates the UI we want to show users when certain events | 16 // This class encapsulates the UI we want to show users when certain events |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 string16 GenerateMessageSection(const extensions::ExtensionIdSet* extensions, | 68 string16 GenerateMessageSection(const extensions::ExtensionIdSet* extensions, |
70 int template_message_id); | 69 int template_message_id); |
71 | 70 |
72 // Generates the message displayed in the body of the alert. | 71 // Generates the message displayed in the body of the alert. |
73 string16 GenerateMessage(); | 72 string16 GenerateMessage(); |
74 | 73 |
75 DISALLOW_COPY_AND_ASSIGN(ExtensionGlobalError); | 74 DISALLOW_COPY_AND_ASSIGN(ExtensionGlobalError); |
76 }; | 75 }; |
77 | 76 |
78 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_ | 77 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_GLOBAL_ERROR_H_ |
OLD | NEW |