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

Side by Side Diff: ceee/installer_dll/installer_helper.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
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 // Small DLL shim to register and unregister all CEEE components. 5 // Small DLL shim to register and unregister all CEEE components.
6 6
7 #include "ceee/installer_dll/installer_helper.h" 7 #include "ceee/installer_dll/installer_helper.h"
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 28 matching lines...) Expand all
39 39
40 // It seems we're obliged to initialize the current command line 40 // It seems we're obliged to initialize the current command line
41 // before initializing logging. This feels a little strange for 41 // before initializing logging. This feels a little strange for
42 // a DLL. 42 // a DLL.
43 CommandLine::Init(0, NULL); 43 CommandLine::Init(0, NULL);
44 44
45 logging::InitLogging( 45 logging::InitLogging(
46 logfile_path, 46 logfile_path,
47 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG, 47 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG,
48 logging::LOCK_LOG_FILE, 48 logging::LOCK_LOG_FILE,
49 logging::APPEND_TO_OLD_LOG_FILE, 49 logging::APPEND_TO_OLD_LOG_FILE);
50 logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS);
51 } 50 }
52 51
53 InstallerHelperModule _AtlModule; 52 InstallerHelperModule _AtlModule;
54 53
55 namespace { 54 namespace {
56 55
57 const wchar_t* kChromeFrameDllName = L"npchrome_frame.dll"; 56 const wchar_t* kChromeFrameDllName = L"npchrome_frame.dll";
58 const wchar_t* kFfCeeeBaseName = L"ceee_ff"; 57 const wchar_t* kFfCeeeBaseName = L"ceee_ff";
59 const wchar_t* kFfCeeeExtension = L".xpi"; 58 const wchar_t* kFfCeeeExtension = L".xpi";
60 59
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 LOG(WARNING) << "Call to unimplemented DllRegisterUserServer."; 396 LOG(WARNING) << "Call to unimplemented DllRegisterUserServer.";
398 return S_OK; 397 return S_OK;
399 } 398 }
400 399
401 // No-op entry point to keep user-level unregistration happy. 400 // No-op entry point to keep user-level unregistration happy.
402 // TODO(robertshield): Remove this as part of registration re-org. 401 // TODO(robertshield): Remove this as part of registration re-org.
403 STDAPI DllUnregisterUserServer() { 402 STDAPI DllUnregisterUserServer() {
404 LOG(WARNING) << "Call to unimplemented DllUnregisterUserServer."; 403 LOG(WARNING) << "Call to unimplemented DllUnregisterUserServer.";
405 return S_OK; 404 return S_OK;
406 } 405 }
OLDNEW
« no previous file with comments | « ceee/ie/plugin/toolband/toolband_module.cc ('k') | chrome/browser/sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698