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

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

Issue 10905188: Have different text for apps and regular extensions in some more places. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase (and make it actually compile) Created 8 years, 3 months 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"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 bool should_delete_self_on_close_; 72 bool should_delete_self_on_close_;
73 ExtensionService* extension_service_; 73 ExtensionService* extension_service_;
74 scoped_ptr<extensions::ExtensionIdSet> external_extension_ids_; 74 scoped_ptr<extensions::ExtensionIdSet> external_extension_ids_;
75 scoped_ptr<extensions::ExtensionIdSet> blacklisted_extension_ids_; 75 scoped_ptr<extensions::ExtensionIdSet> blacklisted_extension_ids_;
76 scoped_ptr<extensions::ExtensionIdSet> orphaned_extension_ids_; 76 scoped_ptr<extensions::ExtensionIdSet> orphaned_extension_ids_;
77 string16 message_; // Displayed in the body of the alert. 77 string16 message_; // Displayed in the body of the alert.
78 78
79 // For a given set of extension IDs, generates appropriate text 79 // For a given set of extension IDs, generates appropriate text
80 // describing what the user needs to know about them. 80 // describing what the user needs to know about them.
81 string16 GenerateMessageSection(const extensions::ExtensionIdSet* extensions, 81 string16 GenerateMessageSection(const extensions::ExtensionIdSet* extensions,
82 int template_message_id); 82 int extension_template_message_id,
83 int app_template_message_id);
83 84
84 // Generates the message displayed in the body of the alert. 85 // Generates the message displayed in the body of the alert.
85 string16 GenerateMessage(); 86 string16 GenerateMessage();
86 87
87 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUI); 88 DISALLOW_COPY_AND_ASSIGN(ExtensionErrorUI);
88 }; 89 };
89 90
90 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_H_ 91 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ERROR_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/crx_installer.cc ('k') | chrome/browser/extensions/extension_error_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698