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

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

Issue 7529011: Add a flag that lets the webstore show a different UI on app install. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed files added in separate CL (r95432) 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 } 99 }
100 100
101 IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest, 101 IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest,
102 IncorrectManifest2) { 102 IncorrectManifest2) {
103 ui_test_utils::WindowedNotificationObserver observer( 103 ui_test_utils::WindowedNotificationObserver observer(
104 chrome::NOTIFICATION_EXTENSION_INSTALL_ERROR, 104 chrome::NOTIFICATION_EXTENSION_INSTALL_ERROR,
105 NotificationService::AllSources()); 105 NotificationService::AllSources());
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
110 // Tests that we can request an app installed bubble (instead of the default
111 // UI when an app is installed).
112 IN_PROC_BROWSER_TEST_F(ExtensionWebstorePrivateApiTest,
113 AppInstallBubble) {
114 ASSERT_TRUE(RunInstallTest("app_install_bubble.html", "app.crx"));
115 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_webstore_private_api.cc ('k') | chrome/browser/ui/touch/tabs/touch_tab_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698