Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: base/data_pack.h

Issue 3068004: base/ header cleanup. Forward declaration instead of including. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: chrome_launcher_unittest.cc Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/command_line_unittest.cc ('k') | base/data_pack.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // DataPack represents a read-only view onto an on-disk file that contains 5 // DataPack represents a read-only view onto an on-disk file that contains
6 // (key, value) pairs of data. It's used to store static resources like 6 // (key, value) pairs of data. It's used to store static resources like
7 // translation strings and images. 7 // translation strings and images.
8 8
9 #ifndef BASE_DATA_PACK_H_ 9 #ifndef BASE_DATA_PACK_H_
10 #define BASE_DATA_PACK_H_ 10 #define BASE_DATA_PACK_H_
11 #pragma once 11 #pragma once
12 12
13 #include <map> 13 #include <map>
14 14
15 #include "base/basictypes.h" 15 #include "base/basictypes.h"
16 #include "base/ref_counted_memory.h"
17 #include "base/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
18 17
19 namespace file_util { 18 namespace file_util {
20 class MemoryMappedFile; 19 class MemoryMappedFile;
21 } 20 }
22 class FilePath; 21 class FilePath;
22 class RefCountedStaticMemory;
23 23
24 namespace base { 24 namespace base {
25 25
26 class StringPiece; 26 class StringPiece;
27 27
28 class DataPack { 28 class DataPack {
29 public: 29 public:
30 DataPack(); 30 DataPack();
31 ~DataPack(); 31 ~DataPack();
32 32
(...skipping 20 matching lines...) Expand all
53 53
54 // Number of resources in the data. 54 // Number of resources in the data.
55 size_t resource_count_; 55 size_t resource_count_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(DataPack); 57 DISALLOW_COPY_AND_ASSIGN(DataPack);
58 }; 58 };
59 59
60 } // namespace base 60 } // namespace base
61 61
62 #endif // BASE_DATA_PACK_H_ 62 #endif // BASE_DATA_PACK_H_
OLDNEW
« no previous file with comments | « base/command_line_unittest.cc ('k') | base/data_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698