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

Side by Side Diff: ceee/installer_dll/installer_helper.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
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);
50 } 51 }
51 52
52 InstallerHelperModule _AtlModule; 53 InstallerHelperModule _AtlModule;
53 54
54 namespace { 55 namespace {
55 56
56 const wchar_t* kChromeFrameDllName = L"npchrome_frame.dll"; 57 const wchar_t* kChromeFrameDllName = L"npchrome_frame.dll";
57 const wchar_t* kFfCeeeBaseName = L"ceee_ff"; 58 const wchar_t* kFfCeeeBaseName = L"ceee_ff";
58 const wchar_t* kFfCeeeExtension = L".xpi"; 59 const wchar_t* kFfCeeeExtension = L".xpi";
59 60
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 LOG(WARNING) << "Call to unimplemented DllRegisterUserServer."; 397 LOG(WARNING) << "Call to unimplemented DllRegisterUserServer.";
397 return S_OK; 398 return S_OK;
398 } 399 }
399 400
400 // No-op entry point to keep user-level unregistration happy. 401 // No-op entry point to keep user-level unregistration happy.
401 // TODO(robertshield): Remove this as part of registration re-org. 402 // TODO(robertshield): Remove this as part of registration re-org.
402 STDAPI DllUnregisterUserServer() { 403 STDAPI DllUnregisterUserServer() {
403 LOG(WARNING) << "Call to unimplemented DllUnregisterUserServer."; 404 LOG(WARNING) << "Call to unimplemented DllUnregisterUserServer.";
404 return S_OK; 405 return S_OK;
405 } 406 }
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