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

Side by Side Diff: net/disk_cache/mem_entry_impl.h

Issue 8954017: Avoid including gtest file directly, and go through base instead (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « jingle/notifier/base/xmpp_connection.h ('k') | net/socket/socks5_client_socket.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ 5 #ifndef NET_DISK_CACHE_MEM_ENTRY_IMPL_H_
6 #define NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ 6 #define NET_DISK_CACHE_MEM_ENTRY_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h"
9 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
10 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
11 #include "net/base/net_log.h" 12 #include "net/base/net_log.h"
12 #include "net/disk_cache/disk_cache.h" 13 #include "net/disk_cache/disk_cache.h"
13 #include "testing/gtest/include/gtest/gtest_prod.h"
14 14
15 namespace disk_cache { 15 namespace disk_cache {
16 16
17 class MemBackendImpl; 17 class MemBackendImpl;
18 18
19 // This class implements the Entry interface for the memory-only cache. An 19 // This class implements the Entry interface for the memory-only cache. An
20 // object of this class represents a single entry on the cache. We use two 20 // object of this class represents a single entry on the cache. We use two
21 // types of entries, parent and child to support sparse caching. 21 // types of entries, parent and child to support sparse caching.
22 // 22 //
23 // A parent entry is non-sparse until a sparse method is invoked (i.e. 23 // A parent entry is non-sparse until a sparse method is invoked (i.e.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 bool doomed_; // True if this entry was removed from the cache. 185 bool doomed_; // True if this entry was removed from the cache.
186 186
187 net::BoundNetLog net_log_; 187 net::BoundNetLog net_log_;
188 188
189 DISALLOW_COPY_AND_ASSIGN(MemEntryImpl); 189 DISALLOW_COPY_AND_ASSIGN(MemEntryImpl);
190 }; 190 };
191 191
192 } // namespace disk_cache 192 } // namespace disk_cache
193 193
194 #endif // NET_DISK_CACHE_MEM_ENTRY_IMPL_H_ 194 #endif // NET_DISK_CACHE_MEM_ENTRY_IMPL_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/xmpp_connection.h ('k') | net/socket/socks5_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698