OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 <stddef.h> | 5 #include <stddef.h> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "chrome/browser/extensions/extension_apitest.h" | 11 #include "chrome/browser/extensions/extension_apitest.h" |
12 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
13 #include "chrome/browser/ui/browser_commands.h" | 13 #include "chrome/browser/ui/browser_commands.h" |
14 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 14 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
15 #include "chrome/common/url_constants.h" | 15 #include "chrome/common/url_constants.h" |
16 #include "chrome/test/base/ui_test_utils.h" | 16 #include "chrome/test/base/ui_test_utils.h" |
| 17 #include "content/public/browser/notification_types.h" |
17 #include "content/public/browser/render_process_host.h" | 18 #include "content/public/browser/render_process_host.h" |
18 #include "content/public/browser/render_view_host.h" | 19 #include "content/public/browser/render_view_host.h" |
19 #include "content/public/browser/site_instance.h" | 20 #include "content/public/browser/site_instance.h" |
20 #include "content/public/browser/web_contents.h" | 21 #include "content/public/browser/web_contents.h" |
21 #include "content/public/test/browser_test_utils.h" | 22 #include "content/public/test/browser_test_utils.h" |
22 #include "extensions/browser/extension_host.h" | 23 #include "extensions/browser/extension_host.h" |
23 #include "extensions/browser/extension_registry.h" | 24 #include "extensions/browser/extension_registry.h" |
24 #include "extensions/browser/process_map.h" | 25 #include "extensions/browser/process_map.h" |
25 #include "extensions/common/switches.h" | 26 #include "extensions/common/switches.h" |
26 #include "net/base/escape.h" | 27 #include "net/base/escape.h" |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 browser(), base_url.Resolve("non_app/main.html")); | 564 browser(), base_url.Resolve("non_app/main.html")); |
564 ASSERT_TRUE(ExecuteScriptAndExtractString( | 565 ASSERT_TRUE(ExecuteScriptAndExtractString( |
565 browser()->tab_strip_model()->GetWebContentsAt(0), | 566 browser()->tab_strip_model()->GetWebContentsAt(0), |
566 kRetrieveSessionStorage.c_str(), &result)); | 567 kRetrieveSessionStorage.c_str(), &result)); |
567 EXPECT_EQ("ss_normal", result); | 568 EXPECT_EQ("ss_normal", result); |
568 } | 569 } |
569 | 570 |
570 } // namespace | 571 } // namespace |
571 | 572 |
572 } // namespace extensions | 573 } // namespace extensions |
OLD | NEW |