blob: c18e5f4128a21dca836b150ddf9b0937ba52b821 (
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
|
// Copyright (c) 2009 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 WEBKIT_DATABASE_DATABASE_UTIL_H_
#define WEBKIT_DATABASE_DATABASE_UTIL_H_
#include "base/file_path.h"
#include "base/string16.h"
namespace webkit_database {
class DatabaseTracker;
class DatabaseUtil {
public:
static bool CrackVfsFileName(const string16& vfs_file_name,
string16* origin_identifier,
string16* database_name,
string16* sqlite_suffix);
static FilePath GetFullFilePathForVfsFile(DatabaseTracker* db_tracker,
const string16& vfs_file_name);
};
} // namespace webkit_database
#endif // WEBKIT_DATABASE_DATABASE_UTIL_H_
|