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

Side by Side Diff: content/renderer/renderer_main_platform_delegate_win.cc

Issue 6878002: Move renderer_main and renderer_glue to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_mac.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/renderer/renderer_main_platform_delegate.h" 5 #include "content/renderer/renderer_main_platform_delegate.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/common/chrome_constants.h" 10 #include "content/common/content_switches.h"
11 #include "chrome/common/chrome_switches.h"
12 #include "content/common/injection_test_dll.h" 11 #include "content/common/injection_test_dll.h"
13 #include "sandbox/src/sandbox.h" 12 #include "sandbox/src/sandbox.h"
14 #include "unicode/timezone.h" 13 #include "unicode/timezone.h"
15 14
16 namespace { 15 namespace {
17 16
18 // In order to have Theme support, we need to connect to the theme service. 17 // In order to have Theme support, we need to connect to the theme service.
19 // This needs to be done before we lock down the renderer. Officially this 18 // This needs to be done before we lock down the renderer. Officially this
20 // can be done with OpenThemeData() but it fails unless you pass a valid 19 // can be done with OpenThemeData() but it fails unless you pass a valid
21 // window at least the first time. Interestingly, the very act of creating a 20 // window at least the first time. Interestingly, the very act of creating a
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 kRenderTestCall)); 131 kRenderTestCall));
133 DCHECK(run_security_tests); 132 DCHECK(run_security_tests);
134 if (run_security_tests) { 133 if (run_security_tests) {
135 int test_count = 0; 134 int test_count = 0;
136 DVLOG(1) << "Running renderer security tests"; 135 DVLOG(1) << "Running renderer security tests";
137 BOOL result = run_security_tests(&test_count); 136 BOOL result = run_security_tests(&test_count);
138 CHECK(result) << "Test number " << test_count << " has failed."; 137 CHECK(result) << "Test number " << test_count << " has failed.";
139 } 138 }
140 } 139 }
141 } 140 }
OLDNEW
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698