ChildAccountService: get service flags from AccountTrackerService instead of fetching...
[chromium-blink-merge.git] / net / tools / dump_cache / dump_files.h
blob49df4f2f96a5874f9c680620e8667beaa6b29213
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_TOOLS_DUMP_CACHE_DUMP_FILES_H_
6 #define NET_TOOLS_DUMP_CACHE_DUMP_FILES_H_
8 // Performs basic inspection of the disk cache files with minimal disruption
9 // to the actual files (they still may change if an error is detected on the
10 // files).
12 #include "base/files/file_path.h"
14 // Returns the major version of the specified cache.
15 int GetMajorVersion(const base::FilePath& input_path);
17 // Dumps all entries from the cache.
18 int DumpContents(const base::FilePath& input_path);
20 // Dumps the headers of all files.
21 int DumpHeaders(const base::FilePath& input_path);
23 #endif // NET_TOOLS_DUMP_CACHE_DUMP_FILES_H_