Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/utf_string_conversions.h" | |
| 6 #include "chrome/browser/extensions/extension_browsertest.h" | |
| 7 #include "chrome/browser/extensions/extension_service.h" | |
| 8 #include "chrome/browser/extensions/extension_tab_util.h" | |
| 9 #include "chrome/browser/ui/browser.h" | |
| 10 #include "chrome/browser/ui/browser_tabstrip.h" | |
| 11 #include "chrome/common/chrome_switches.h" | |
| 12 #include "chrome/common/extensions/extension.h" | |
| 13 #include "chrome/test/base/ui_test_utils.h" | |
|
kinuko
2012/09/20 04:43:57
this looks a bit too many includes for this small
tzik
2012/09/20 05:18:37
Ah, I forgot to drop that. Done.
| |
| 14 | |
| 15 using extensions::Extension; | |
|
kinuko
2012/09/20 04:43:57
do we need this?
tzik
2012/09/20 05:18:37
Done. Removed.
| |
| 16 | |
| 17 class QuotaPermissionBrowserTest : public ExtensionBrowserTest { | |
| 18 public: | |
| 19 }; | |
| 20 | |
| 21 IN_PROC_BROWSER_TEST_F(QuotaPermissionBrowserTest, RequestQuotaInBackground) { | |
| 22 ASSERT_TRUE(test_server()->Start()); | |
| 23 ASSERT_TRUE(LoadExtension( | |
| 24 test_data_dir_.AppendASCII("browsertest") | |
| 25 .AppendASCII("request_quota_background"))); | |
| 26 | |
| 27 ASSERT_TRUE(WaitForPageActionVisibilityChangeTo(0)); | |
| 28 } | |
| OLD | NEW |