Fix cpplint warnings
This commit is contained in:
parent
9646c28a41
commit
a8c227d5f5
2 changed files with 3 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
||||||
#include "atom/common/asar/asar_util.h"
|
#include "atom/common/asar/asar_util.h"
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
#include "atom/common/asar/archive.h"
|
#include "atom/common/asar/archive.h"
|
||||||
#include "base/files/file_path.h"
|
#include "base/files/file_path.h"
|
||||||
|
@ -14,11 +15,10 @@
|
||||||
|
|
||||||
namespace asar {
|
namespace asar {
|
||||||
|
|
||||||
typedef std::map<base::FilePath, std::shared_ptr<Archive>> ArchiveMap;
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// The global instance of ArchiveMap, will be destroyed on exit.
|
// The global instance of ArchiveMap, will be destroyed on exit.
|
||||||
|
typedef std::map<base::FilePath, std::shared_ptr<Archive>> ArchiveMap;
|
||||||
static base::LazyInstance<ArchiveMap> g_archive_map = LAZY_INSTANCE_INITIALIZER;
|
static base::LazyInstance<ArchiveMap> g_archive_map = LAZY_INSTANCE_INITIALIZER;
|
||||||
|
|
||||||
const base::FilePath::CharType kAsarExtension[] = FILE_PATH_LITERAL(".asar");
|
const base::FilePath::CharType kAsarExtension[] = FILE_PATH_LITERAL(".asar");
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#define ATOM_COMMON_ASAR_ASAR_UTIL_H_
|
#define ATOM_COMMON_ASAR_ASAR_UTIL_H_
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
#include <string>
|
||||||
|
|
||||||
namespace base {
|
namespace base {
|
||||||
class FilePath;
|
class FilePath;
|
||||||
|
|
Loading…
Reference in a new issue