Chromium Code Reviews| Index: chrome/browser/history/in_memory_url_index_types.cc |
| =================================================================== |
| --- chrome/browser/history/in_memory_url_index_types.cc (revision 125078) |
| +++ chrome/browser/history/in_memory_url_index_types.cc (working copy) |
| @@ -147,4 +147,16 @@ |
| return prefixes.count(prefix) != 0; |
| } |
| +// RefCountedBool -------------------------------------------------------------- |
| + |
| +const unsigned char* RefCountedBool::front() const { |
| + return reinterpret_cast<const unsigned char*>(&bool_); |
| +} |
| + |
| +size_t RefCountedBool::size() const { |
| + return sizeof(bool); |
|
mrossetti
2012/03/06 03:49:30
I will change this 'bool' to the var 'bool_' befor
|
| +} |
| + |
| +RefCountedBool::~RefCountedBool() {} |
| + |
| } // namespace history |