Fix cpplint warnings

This commit is contained in:
Cheng Zhao 2015-02-12 19:50:28 +08:00
parent 9646c28a41
commit a8c227d5f5
2 changed files with 3 additions and 2 deletions

View file

@ -5,6 +5,7 @@
#include "atom/common/asar/asar_util.h"
#include <map>
#include <string>
#include "atom/common/asar/archive.h"
#include "base/files/file_path.h"
@ -14,11 +15,10 @@
namespace asar {
typedef std::map<base::FilePath, std::shared_ptr<Archive>> ArchiveMap;
namespace {
// 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;
const base::FilePath::CharType kAsarExtension[] = FILE_PATH_LITERAL(".asar");

View file

@ -6,6 +6,7 @@
#define ATOM_COMMON_ASAR_ASAR_UTIL_H_
#include <memory>
#include <string>
namespace base {
class FilePath;