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

Side by Side Diff: webkit/support/platform_support_win.cc

Issue 3148024: Disabling DRT related initializations in unit-test mode, they... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 | « webkit/support/platform_support_mac.mm ('k') | webkit/support/webkit_support.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/support/platform_support.h" 5 #include "webkit/support/platform_support.h"
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 28 matching lines...) Expand all
39 return GetRawDataResource(::GetModuleHandle(NULL), key); 39 return GetRawDataResource(::GetModuleHandle(NULL), key);
40 } 40 }
41 41
42 } // namespace 42 } // namespace
43 43
44 namespace webkit_support { 44 namespace webkit_support {
45 45
46 // TODO(tkent): Implement some of the followings for platform-dependent tasks 46 // TODO(tkent): Implement some of the followings for platform-dependent tasks
47 // such as loading resource. 47 // such as loading resource.
48 48
49 void BeforeInitialize() { 49 void BeforeInitialize(bool unit_test_mode) {
50 } 50 }
51 51
52 void AfterInitialize() { 52 void AfterInitialize(bool unit_test_mode) {
53 } 53 }
54 54
55 void BeforeShutdown() { 55 void BeforeShutdown() {
56 } 56 }
57 57
58 void AfterShutdown() { 58 void AfterShutdown() {
59 } 59 }
60 60
61 } // namespace webkit_support 61 } // namespace webkit_support
62 62
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 return NetResourceProvider(resource_id); 117 return NetResourceProvider(resource_id);
118 118
119 default: 119 default:
120 break; 120 break;
121 } 121 }
122 122
123 return base::StringPiece(); 123 return base::StringPiece();
124 } 124 }
125 125
126 } // namespace webkit_glue 126 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/support/platform_support_mac.mm ('k') | webkit/support/webkit_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698