summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/logging_installer.h
blob: 50882dc25a602f34e3fa4295a627d5fd61174589 (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
28
29
// 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_
#pragma once

#include <string>

#include "base/logging.h"

class CommandLine;
class FilePath;

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.
FilePath GetLogFilePath(const CommandLine& command_line);

} // namespace installer

#endif  // CHROME_INSTALLER_UTIL_LOGGING_INSTALLER_H_