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

Side by Side Diff: chrome/browser/extensions/extension_webstore_private_apitest.cc

Issue 7735001: Add a iconUrl parameter to webstorePrivate.beginInstallWithManifest2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 4 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "base/stringprintf.h" 5 #include "base/stringprintf.h"
6 #include "chrome/browser/extensions/extension_apitest.h" 6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/browser/extensions/extension_install_ui.h" 7 #include "chrome/browser/extensions/extension_install_ui.h"
8 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/extensions/extension_webstore_private_api.h" 9 #include "chrome/browser/extensions/extension_webstore_private_api.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ASSERT_TRUE(RunInstallTest("incorrect_manifest2.html", "extension.crx")); 106 ASSERT_TRUE(RunInstallTest("incorrect_manifest2.html", "extension.crx"));
107 observer.Wait(); 107 observer.Wait();
108 } 108 }
109 109
110 // Tests that we can request an app installed bubble (instead of the default 110 // Tests that we can request an app installed bubble (instead of the default
111 // UI when an app is installed). 111 // UI when an app is installed).
112 IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest, 112 IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest,
113 AppInstallBubble) { 113 AppInstallBubble) {
114 ASSERT_TRUE(RunInstallTest("app_install_bubble.html", "app.crx")); 114 ASSERT_TRUE(RunInstallTest("app_install_bubble.html", "app.crx"));
115 } 115 }
116
117 // Tests using the iconUrl parameter to the install function.
118 IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest,
119 IconUrl) {
120 ASSERT_TRUE(RunInstallTest("icon_url.html", "extension.crx"));
121 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_webstore_private_api.cc ('k') | chrome/common/extensions/api/extension_api.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698