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

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

Issue 6070006: Made logging not look up --enable-dcheck from command line (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed more compile failures 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);
114 115
115 // Initialize ETW logging. 116 // Initialize ETW logging.
116 logging::LogEventProvider::Initialize(kCeeeBrokerLogProviderName); 117 logging::LogEventProvider::Initialize(kCeeeBrokerLogProviderName);
117 118
118 // Initialize control hosting. 119 // Initialize control hosting.
119 BOOL initialized = AtlAxWinInit(); 120 BOOL initialized = AtlAxWinInit();
120 DCHECK(initialized); 121 DCHECK(initialized);
121 122
122 // Needs to be called before we can use GURL. 123 // Needs to be called before we can use GURL.
123 chrome::RegisterChromeSchemes(); 124 chrome::RegisterChromeSchemes();
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 226
226 LONG LockModule() { 227 LONG LockModule() {
227 return module.LockModule(); 228 return module.LockModule();
228 } 229 }
229 230
230 LONG UnlockModule() { 231 LONG UnlockModule() {
231 return module.UnlockModule(); 232 return module.UnlockModule();
232 } 233 }
233 234
234 } // namespace 235 } // 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