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

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

Issue 19495006: Update include paths in content/browser for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 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 <string> 5 #include <string>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/process_util.h"
10 #include "content/browser/child_process_security_policy_impl.h" 9 #include "content/browser/child_process_security_policy_impl.h"
11 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
12 #include "content/public/browser/render_process_host.h" 11 #include "content/public/browser/render_process_host.h"
13 #include "content/public/common/result_codes.h" 12 #include "content/public/common/result_codes.h"
14 #include "content/shell/shell.h" 13 #include "content/shell/shell.h"
15 #include "content/test/content_browser_test.h" 14 #include "content/test/content_browser_test.h"
16 #include "content/test/content_browser_test_utils.h" 15 #include "content/test/content_browser_test_utils.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
18 17
19 namespace content { 18 namespace content {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 base::KillProcess(web_contents->GetRenderProcessHost()->GetHandle(), 51 base::KillProcess(web_contents->GetRenderProcessHost()->GetHandle(),
53 RESULT_CODE_KILLED, true); 52 RESULT_CODE_KILLED, true);
54 53
55 web_contents->GetController().Reload(true); 54 web_contents->GetController().Reload(true);
56 EXPECT_EQ( 55 EXPECT_EQ(
57 1U, 56 1U,
58 ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size()); 57 ChildProcessSecurityPolicyImpl::GetInstance()->security_state_.size());
59 } 58 }
60 59
61 } // namespace content 60 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/child_process_launcher.cc ('k') | content/browser/device_orientation/data_fetcher_impl_android_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698