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

Side by Side Diff: third_party/hunspell/google/bdict_reader.cc

Issue 1135173004: Rename third_party/hunspell_new back to third_party/hunspell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « third_party/hunspell/google/bdict_reader.h ('k') | third_party/hunspell/google/bdict_writer.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 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 #include "third_party/hunspell_new/google/bdict_reader.h" 5 #include "third_party/hunspell/google/bdict_reader.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace hunspell { 9 namespace hunspell {
10 10
11 // Like the "Visitor" design pattern, this lightweight object provides an 11 // Like the "Visitor" design pattern, this lightweight object provides an
12 // interface around a serialized trie node at the given address in the memory. 12 // interface around a serialized trie node at the given address in the memory.
13 class NodeReader { 13 class NodeReader {
14 public: 14 public:
15 // Return values for GetChildAt. 15 // Return values for GetChildAt.
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 aff_header_->rep_offset); 784 aff_header_->rep_offset);
785 } 785 }
786 786
787 787
788 WordIterator BDictReader::GetAllWordIterator() const { 788 WordIterator BDictReader::GetAllWordIterator() const {
789 NodeReader reader(bdict_data_, bdict_length_, header_->dic_offset, 0); 789 NodeReader reader(bdict_data_, bdict_length_, header_->dic_offset, 0);
790 return WordIterator(reader); 790 return WordIterator(reader);
791 } 791 }
792 792
793 } // namespace hunspell 793 } // namespace hunspell
OLDNEW
« no previous file with comments | « third_party/hunspell/google/bdict_reader.h ('k') | third_party/hunspell/google/bdict_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698