OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef CHROME_BROWSER_POLICY_RESOURCE_CACHE_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_RESOURCE_CACHE_H_ |
6 #define CHROME_BROWSER_POLICY_RESOURCE_CACHE_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_RESOURCE_CACHE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 std::string CreatePath(const std::string& key, const std::string& subkey); | 68 std::string CreatePath(const std::string& key, const std::string& subkey); |
69 std::string GetSubkey(const std::string& path); | 69 std::string GetSubkey(const std::string& path); |
70 | 70 |
71 scoped_ptr<leveldb::DB> db_; | 71 scoped_ptr<leveldb::DB> db_; |
72 | 72 |
73 DISALLOW_COPY_AND_ASSIGN(ResourceCache); | 73 DISALLOW_COPY_AND_ASSIGN(ResourceCache); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace policy | 76 } // namespace policy |
77 | 77 |
78 #endif // CHROME_BROWSER_POLICY_RESOURCE_CACHE_H_ | 78 #endif // CHROME_BROWSER_POLICY_CLOUD_RESOURCE_CACHE_H_ |
OLD | NEW |