| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/extensions/extension_apitest.h" | 5 #include "chrome/browser/extensions/extension_apitest.h" |
| 6 | 6 |
| 7 #include "chrome/browser/browser.h" | 7 #include "chrome/browser/browser.h" |
| 8 #include "chrome/browser/pref_service.h" | 8 #include "chrome/browser/pref_service.h" |
| 9 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profile.h" |
| 10 #include "chrome/common/pref_names.h" | 10 #include "chrome/common/pref_names.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 prefs::kHomePageIsNewTabPage, true); | 30 prefs::kHomePageIsNewTabPage, true); |
| 31 | 31 |
| 32 ASSERT_TRUE(RunExtensionTest("tabs/basics2")) << message_; | 32 ASSERT_TRUE(RunExtensionTest("tabs/basics2")) << message_; |
| 33 } | 33 } |
| 34 | 34 |
| 35 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CaptureVisibleTab) { | 35 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, CaptureVisibleTab) { |
| 36 ASSERT_TRUE(StartHTTPServer()); | 36 ASSERT_TRUE(StartHTTPServer()); |
| 37 | 37 |
| 38 ASSERT_TRUE(RunExtensionTest("tabs/capture_visible_tab")) << message_; | 38 ASSERT_TRUE(RunExtensionTest("tabs/capture_visible_tab")) << message_; |
| 39 } | 39 } |
| 40 |
| 41 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, TabsOnUpdated) { |
| 42 ASSERT_TRUE(StartHTTPServer()); |
| 43 |
| 44 ASSERT_TRUE(RunExtensionTest("tabs/on_updated")) << message_; |
| 45 } |
| OLD | NEW |