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

Side by Side Diff: base/containers/small_map.h

Issue 16667019: Rename base/hash_tables to base/containers/hash_tables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/containers/mru_cache.h ('k') | base/containers/small_map_unittest.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) 2012 The Chromium Authors. All rights reserved. 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 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 BASE_CONTAINERS_SMALL_MAP_H_ 5 #ifndef BASE_CONTAINERS_SMALL_MAP_H_
6 #define BASE_CONTAINERS_SMALL_MAP_H_ 6 #define BASE_CONTAINERS_SMALL_MAP_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/hash_tables.h" 13 #include "base/containers/hash_tables.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/manual_constructor.h" 15 #include "base/memory/manual_constructor.h"
16 16
17 namespace base { 17 namespace base {
18 18
19 // An STL-like associative container which starts out backed by a simple 19 // An STL-like associative container which starts out backed by a simple
20 // array but switches to some other container type if it grows beyond a 20 // array but switches to some other container type if it grows beyond a
21 // fixed size. 21 // fixed size.
22 // 22 //
23 // WHAT TYPE OF MAP SHOULD YOU USE? 23 // WHAT TYPE OF MAP SHOULD YOU USE?
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 typename Functor> 643 typename Functor>
644 inline bool SmallMap<NormalMap, kArraySize, EqualKey, 644 inline bool SmallMap<NormalMap, kArraySize, EqualKey,
645 Functor>::iterator::operator!=( 645 Functor>::iterator::operator!=(
646 const const_iterator& other) const { 646 const const_iterator& other) const {
647 return other != *this; 647 return other != *this;
648 } 648 }
649 649
650 } // namespace base 650 } // namespace base
651 651
652 #endif // BASE_CONTAINERS_SMALL_MAP_H_ 652 #endif // BASE_CONTAINERS_SMALL_MAP_H_
OLDNEW
« no previous file with comments | « base/containers/mru_cache.h ('k') | base/containers/small_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698