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

Side by Side Diff: content/browser/site_instance_unittest.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/compiler_specific.h" 5 #include "base/compiler_specific.h"
6 #include "base/stl_util-inl.h" 6 #include "base/stl_util.h"
7 #include "base/string16.h" 7 #include "base/string16.h"
8 #include "chrome/test/testing_profile.h" 8 #include "chrome/test/testing_profile.h"
9 #include "content/browser/browser_thread.h" 9 #include "content/browser/browser_thread.h"
10 #include "content/browser/browsing_instance.h" 10 #include "content/browser/browsing_instance.h"
11 #include "content/browser/child_process_security_policy.h" 11 #include "content/browser/child_process_security_policy.h"
12 #include "content/browser/mock_content_browser_client.h" 12 #include "content/browser/mock_content_browser_client.h"
13 #include "content/browser/renderer_host/browser_render_process_host.h" 13 #include "content/browser/renderer_host/browser_render_process_host.h"
14 #include "content/browser/renderer_host/render_view_host.h" 14 #include "content/browser/renderer_host/render_view_host.h"
15 #include "content/browser/renderer_host/test_render_view_host.h" 15 #include "content/browser/renderer_host/test_render_view_host.h"
16 #include "content/browser/site_instance.h" 16 #include "content/browser/site_instance.h"
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 // Make sure none of differing privilege processes are mixed. 511 // Make sure none of differing privilege processes are mixed.
512 EXPECT_NE(extension1_instance->GetProcess(), webui1_instance->GetProcess()); 512 EXPECT_NE(extension1_instance->GetProcess(), webui1_instance->GetProcess());
513 513
514 for (size_t i = 0; i < content::kMaxRendererProcessCount; ++i) { 514 for (size_t i = 0; i < content::kMaxRendererProcessCount; ++i) {
515 EXPECT_NE(extension1_instance->GetProcess(), hosts[i]); 515 EXPECT_NE(extension1_instance->GetProcess(), hosts[i]);
516 EXPECT_NE(webui1_instance->GetProcess(), hosts[i]); 516 EXPECT_NE(webui1_instance->GetProcess(), hosts[i]);
517 } 517 }
518 518
519 STLDeleteContainerPointers(hosts.begin(), hosts.end()); 519 STLDeleteContainerPointers(hosts.begin(), hosts.end());
520 } 520 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698