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

Side by Side Diff: ceee/ie/broker/broker_module.cc

Issue 6100007: Revert 70782 - Made logging not look up --enable-dcheck from command line... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « base/test/test_suite.cc ('k') | ceee/ie/plugin/toolband/toolband_module.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 // Declaration of ATL module object for EXE module. 5 // Declaration of ATL module object for EXE module.
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 #include <atlhost.h> 8 #include <atlhost.h>
9 9
10 #include "base/at_exit.h" 10 #include "base/at_exit.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 ::PathAppend(logfile_path, kLogFileName); 103 ::PathAppend(logfile_path, kLogFileName);
104 104
105 // It seems we're obliged to initialize the current command line 105 // It seems we're obliged to initialize the current command line
106 // before initializing logging. 106 // before initializing logging.
107 CommandLine::Init(0, NULL); 107 CommandLine::Init(0, NULL);
108 108
109 logging::InitLogging( 109 logging::InitLogging(
110 logfile_path, 110 logfile_path,
111 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG, 111 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG,
112 logging::LOCK_LOG_FILE, 112 logging::LOCK_LOG_FILE,
113 logging::APPEND_TO_OLD_LOG_FILE, 113 logging::APPEND_TO_OLD_LOG_FILE);
114 logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS);
115 114
116 // Initialize ETW logging. 115 // Initialize ETW logging.
117 logging::LogEventProvider::Initialize(kCeeeBrokerLogProviderName); 116 logging::LogEventProvider::Initialize(kCeeeBrokerLogProviderName);
118 117
119 // Initialize control hosting. 118 // Initialize control hosting.
120 BOOL initialized = AtlAxWinInit(); 119 BOOL initialized = AtlAxWinInit();
121 DCHECK(initialized); 120 DCHECK(initialized);
122 121
123 // Needs to be called before we can use GURL. 122 // Needs to be called before we can use GURL.
124 chrome::RegisterChromeSchemes(); 123 chrome::RegisterChromeSchemes();
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 225
227 LONG LockModule() { 226 LONG LockModule() {
228 return module.LockModule(); 227 return module.LockModule();
229 } 228 }
230 229
231 LONG UnlockModule() { 230 LONG UnlockModule() {
232 return module.UnlockModule(); 231 return module.UnlockModule();
233 } 232 }
234 233
235 } // namespace 234 } // namespace
OLDNEW
« no previous file with comments | « base/test/test_suite.cc ('k') | ceee/ie/plugin/toolband/toolband_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698