summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/logging_installer.h
blob: 336d0c454f4909485729bd58137f2ae9df5471e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_
#define CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_

#include <string>

#include "base/logging.h"

class CommandLine;

namespace installer {

// Call to initialize logging for Chrome installer.
void InitInstallerLogging(const CommandLine& command_line);

// Call when done using logging for Chrome installer.
void EndInstallerLogging();

// Returns the full path of the log file.
std::wstring GetLogFilePath(const CommandLine& command_line);

} // namespace installer

#endif  // CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_