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

Side by Side Diff: cloud_print/service/win/cloud_print_service.cc

Issue 23514018: Add Reset to ScopedClosureRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android fix 2 Created 7 years, 3 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include <atlbase.h> 5 #include <atlbase.h>
6 #include <security.h> 6 #include <security.h>
7 7
8 #include <iomanip> 8 #include <iomanip>
9 #include <iostream> 9 #include <iostream>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/callback_helpers.h"
13 #include "base/command_line.h" 14 #include "base/command_line.h"
14 #include "base/file_util.h" 15 #include "base/file_util.h"
15 #include "base/guid.h" 16 #include "base/guid.h"
16 #include "base/logging.h" 17 #include "base/logging.h"
17 #include "base/path_service.h" 18 #include "base/path_service.h"
18 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
19 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
20 #include "base/win/scoped_handle.h" 21 #include "base/win/scoped_handle.h"
21 #include "chrome/common/chrome_constants.h" 22 #include "chrome/common/chrome_constants.h"
22 #include "chrome/common/chrome_switches.h" 23 #include "chrome/common/chrome_switches.h"
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; 406 settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
406 logging::InitLogging(settings); 407 logging::InitLogging(settings);
407 408
408 logging::SetMinLogLevel( 409 logging::SetMinLogLevel(
409 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ? 410 CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableLogging) ?
410 logging::LOG_INFO : logging::LOG_FATAL); 411 logging::LOG_INFO : logging::LOG_FATAL);
411 412
412 return _AtlModule.WinMain(0); 413 return _AtlModule.WinMain(0);
413 } 414 }
414 415
OLDNEW
« no previous file with comments | « chromeos/dbus/blocking_method_caller.cc ('k') | cloud_print/service/win/cloud_print_service_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698