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

Side by Side Diff: o3d/plugin/cross/main.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 | « net/tools/tld_cleanup/tld_cleanup.cc ('k') | o3d/plugin/cross/main_remote_cb.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 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 // Turn on the logging. 330 // Turn on the logging.
331 CommandLine::Init(0, NULL); 331 CommandLine::Init(0, NULL);
332 332
333 FilePath log; 333 FilePath log;
334 file_util::GetTempDir(&log); 334 file_util::GetTempDir(&log);
335 log = log.Append(O3D_DEBUG_LOG_FILENAME); 335 log = log.Append(O3D_DEBUG_LOG_FILENAME);
336 336
337 InitLogging(log.value().c_str(), 337 InitLogging(log.value().c_str(),
338 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG, 338 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG,
339 logging::DONT_LOCK_LOG_FILE, 339 logging::DONT_LOCK_LOG_FILE,
340 logging::APPEND_TO_OLD_LOG_FILE); 340 logging::APPEND_TO_OLD_LOG_FILE,
341 logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS);
341 #endif // O3D_INTERNAL_PLUGIN 342 #endif // O3D_INTERNAL_PLUGIN
342 343
343 DLOG(INFO) << "NP_Initialize"; 344 DLOG(INFO) << "NP_Initialize";
344 345
345 return o3d::PlatformPostNPInitialize(); 346 return o3d::PlatformPostNPInitialize();
346 } 347 }
347 348
348 NPError EXPORT_SYMBOL OSCALL NP_Shutdown(void) { 349 NPError EXPORT_SYMBOL OSCALL NP_Shutdown(void) {
349 HANDLE_CRASHES; 350 HANDLE_CRASHES;
350 DLOG(INFO) << "NP_Shutdown"; 351 DLOG(INFO) << "NP_Shutdown";
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 } // namespace o3d / extern "C" 411 } // namespace o3d / extern "C"
411 412
412 #if !defined(O3D_INTERNAL_PLUGIN) 413 #if !defined(O3D_INTERNAL_PLUGIN)
413 extern "C" { 414 extern "C" {
414 NPError EXPORT_SYMBOL NP_GetValue(void *instance, NPPVariable variable, 415 NPError EXPORT_SYMBOL NP_GetValue(void *instance, NPPVariable variable,
415 void *value) { 416 void *value) {
416 return o3d::NP_GetValue(variable, value); 417 return o3d::NP_GetValue(variable, value);
417 } 418 }
418 } 419 }
419 #endif 420 #endif
OLDNEW
« no previous file with comments | « net/tools/tld_cleanup/tld_cleanup.cc ('k') | o3d/plugin/cross/main_remote_cb.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698