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

Side by Side Diff: chrome/browser/extensions/extension_error_ui.h

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
OLDNEW
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_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_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/ui/global_error/global_error.h" 10 #include "chrome/browser/ui/global_error/global_error.h"
11 #include "chrome/common/extensions/extension.h" 11 #include "extensions/common/extension.h"
12 12
13 class Browser; 13 class Browser;
14 class ExtensionService; 14 class ExtensionService;
15 15
16 // 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
17 // occur related to installed extensions. 17 // occur related to installed extensions.
18 class ExtensionErrorUI { 18 class ExtensionErrorUI {
19 public: 19 public:
20 static ExtensionErrorUI* Create(ExtensionService* extension_service); 20 static ExtensionErrorUI* Create(ExtensionService* extension_service);
21 21
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 int extension_template_message_id, 80 int extension_template_message_id,
81 int app_template_message_id); 81 int app_template_message_id);
82 82
83 // Generates the message displayed in the body of the alert. 83 // Generates the message displayed in the body of the alert.
84 string16 GenerateMessage(); 84 string16 GenerateMessage();
85 85
86 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUI); 86 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUI);
87 }; 87 };
88 88
89 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_H_ 89 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui_browsertest.cc ('k') | chrome/browser/extensions/extension_error_ui_default.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698