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

Unified Diff: chrome/browser/chrome_quota_permission_context_browsertest.cc

Issue 10943026: Regression test for quota_context (not for commit) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_quota_permission_context_browsertest.cc
diff --git a/chrome/browser/chrome_quota_permission_context_browsertest.cc b/chrome/browser/chrome_quota_permission_context_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..768ab6d2c45edbcd5abc0eb1c05db6bc561155f4
--- /dev/null
+++ b/chrome/browser/chrome_quota_permission_context_browsertest.cc
@@ -0,0 +1,28 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/utf_string_conversions.h"
+#include "chrome/browser/extensions/extension_browsertest.h"
+#include "chrome/browser/extensions/extension_service.h"
+#include "chrome/browser/extensions/extension_tab_util.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/browser_tabstrip.h"
+#include "chrome/common/chrome_switches.h"
+#include "chrome/common/extensions/extension.h"
+#include "chrome/test/base/ui_test_utils.h"
+
+using extensions::Extension;
+
+class QuotaPermissionBrowserTest : public ExtensionBrowserTest {
+ public:
+};
+
+IN_PROC_BROWSER_TEST_F(QuotaPermissionBrowserTest, RequestQuotaInBackground) {
+ ASSERT_TRUE(test_server()->Start());
+ ASSERT_TRUE(LoadExtension(
+ test_data_dir_.AppendASCII("browsertest")
+ .AppendASCII("request_quota_background")));
+
+ ASSERT_TRUE(WaitForPageActionVisibilityChangeTo(0));
+}
« no previous file with comments | « no previous file | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698