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

Unified Diff: chrome/browser/extensions/extensions_service_unittest.cc

Issue 115595: Have the browser process rewrite manifest.json and theme images that the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extensions_service.cc ('k') | chrome/browser/utility_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extensions_service_unittest.cc
===================================================================
--- chrome/browser/extensions/extensions_service_unittest.cc (revision 16736)
+++ chrome/browser/extensions/extensions_service_unittest.cc (working copy)
@@ -299,10 +299,20 @@
extensions_path = extensions_path.AppendASCII("extensions");
// A simple extension that should install without error.
+ // A simple extension that should install without error.
FilePath path = extensions_path.AppendASCII("good.crx");
TestInstallExtension(path, true);
+
// TODO(erikkay): verify the contents of the installed extension.
+ // An extension with theme images.
+ path = extensions_path.AppendASCII("theme.crx");
+ frontend->TestInstallExtension(path, backend, true);
+
+ // An extension with page actions.
+ path = extensions_path.AppendASCII("page_action.crx");
+ frontend->TestInstallExtension(path, backend, true);
+
// 0-length extension file.
path = extensions_path.AppendASCII("not_an_extension.crx");
TestInstallExtension(path, false);
« no previous file with comments | « chrome/browser/extensions/extensions_service.cc ('k') | chrome/browser/utility_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698