| Index: storage/browser/fileapi/sandbox_prioritized_origin_database.cc
|
| diff --git a/storage/browser/fileapi/sandbox_prioritized_origin_database.cc b/storage/browser/fileapi/sandbox_prioritized_origin_database.cc
|
| index 80ccd272ec57c7dbb24af471ff8219cdd58c8850..c55ad42bd710c736856946e24c44762c175e2c9a 100644
|
| --- a/storage/browser/fileapi/sandbox_prioritized_origin_database.cc
|
| +++ b/storage/browser/fileapi/sandbox_prioritized_origin_database.cc
|
| @@ -5,7 +5,6 @@
|
| #include "storage/browser/fileapi/sandbox_prioritized_origin_database.h"
|
|
|
| #include "base/files/file.h"
|
| -#include "base/files/file_path.h"
|
| #include "base/files/file_util.h"
|
| #include "base/logging.h"
|
| #include "base/pickle.h"
|
| @@ -14,13 +13,16 @@
|
|
|
| namespace storage {
|
|
|
| -namespace {
|
| -
|
| -const base::FilePath::CharType kPrimaryDirectory[] =
|
| +const base::FilePath::CharType*
|
| +SandboxPrioritizedOriginDatabase::kPrimaryDirectory =
|
| FILE_PATH_LITERAL("primary");
|
| -const base::FilePath::CharType kPrimaryOriginFile[] =
|
| +
|
| +const base::FilePath::CharType*
|
| +SandboxPrioritizedOriginDatabase::kPrimaryOriginFile =
|
| FILE_PATH_LITERAL("primary.origin");
|
|
|
| +namespace {
|
| +
|
| bool WritePrimaryOriginFile(const base::FilePath& path,
|
| const std::string& origin) {
|
| base::File file(path, base::File::FLAG_OPEN_ALWAYS | base::File::FLAG_WRITE);
|
|
|