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

Side by Side Diff: runtime/platform/hashmap.h

Issue 2450713004: Make header include guards great again (Closed)
Patch Set: Fix header include guards Created 4 years, 1 month 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 | « runtime/platform/globals.h ('k') | runtime/platform/inttypes_support_win.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef PLATFORM_HASHMAP_H_ 5 #ifndef RUNTIME_PLATFORM_HASHMAP_H_
6 #define PLATFORM_HASHMAP_H_ 6 #define RUNTIME_PLATFORM_HASHMAP_H_
7 7
8 #include "platform/globals.h" 8 #include "platform/globals.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 class HashMap { 12 class HashMap {
13 public: 13 public:
14 typedef bool (*MatchFun) (void* key1, void* key2); 14 typedef bool (*MatchFun) (void* key1, void* key2);
15 15
16 typedef void (*ClearFun) (void* value); 16 typedef void (*ClearFun) (void* value);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 Entry* Probe(void* key, uint32_t hash); 98 Entry* Probe(void* key, uint32_t hash);
99 void Initialize(uint32_t capacity); 99 void Initialize(uint32_t capacity);
100 void Resize(); 100 void Resize();
101 101
102 friend class IntSet; // From hashmap_test.cc 102 friend class IntSet; // From hashmap_test.cc
103 DISALLOW_COPY_AND_ASSIGN(HashMap); 103 DISALLOW_COPY_AND_ASSIGN(HashMap);
104 }; 104 };
105 105
106 } // namespace dart 106 } // namespace dart
107 107
108 #endif // PLATFORM_HASHMAP_H_ 108 #endif // RUNTIME_PLATFORM_HASHMAP_H_
OLDNEW
« no previous file with comments | « runtime/platform/globals.h ('k') | runtime/platform/inttypes_support_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698