| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/browser/process_manager.h" | 5 #include "extensions/browser/process_manager.h" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 7 #include "content/public/browser/content_browser_client.h" | 8 #include "content/public/browser/content_browser_client.h" |
| 8 #include "content/public/browser/notification_service.h" | 9 #include "content/public/browser/notification_service.h" |
| 9 #include "content/public/browser/site_instance.h" | 10 #include "content/public/browser/site_instance.h" |
| 10 #include "content/public/common/content_client.h" | 11 #include "content/public/common/content_client.h" |
| 11 #include "content/public/test/test_browser_context.h" | 12 #include "content/public/test/test_browser_context.h" |
| 12 #include "extensions/browser/extension_registry.h" | 13 #include "extensions/browser/extension_registry.h" |
| 13 #include "extensions/browser/extensions_test.h" | 14 #include "extensions/browser/extensions_test.h" |
| 14 #include "extensions/browser/notification_types.h" | 15 #include "extensions/browser/notification_types.h" |
| 15 #include "extensions/browser/process_manager_delegate.h" | 16 #include "extensions/browser/process_manager_delegate.h" |
| 16 #include "extensions/browser/test_extensions_browser_client.h" | 17 #include "extensions/browser/test_extensions_browser_client.h" |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 scoped_refptr<SiteInstance> site21 = | 242 scoped_refptr<SiteInstance> site21 = |
| 242 manager1->GetSiteInstanceForURL(ext2_url1); | 243 manager1->GetSiteInstanceForURL(ext2_url1); |
| 243 EXPECT_NE(site11, site21); | 244 EXPECT_NE(site11, site21); |
| 244 | 245 |
| 245 scoped_refptr<SiteInstance> other_profile_site = | 246 scoped_refptr<SiteInstance> other_profile_site = |
| 246 manager2->GetSiteInstanceForURL(ext1_url1); | 247 manager2->GetSiteInstanceForURL(ext1_url1); |
| 247 EXPECT_NE(site11, other_profile_site); | 248 EXPECT_NE(site11, other_profile_site); |
| 248 } | 249 } |
| 249 | 250 |
| 250 } // namespace extensions | 251 } // namespace extensions |
| OLD | NEW |