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

Side by Side Diff: services/prediction/dictionary_service.cc

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: Created 5 years, 2 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 | « services/prediction/dictionary_service.h ('k') | services/prediction/input_info.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <algorithm> 5 #include <algorithm>
6 #include <deque> 6 #include <deque>
7 #include <fstream> 7 #include <fstream>
8 #include <string> 8 #include <string>
9 9
10 #include "base/base_paths.h" 10 #include "base/base_paths.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "mojo/services/prediction/public/interfaces/prediction.mojom.h" 15 #include "mojo/services/prediction/interfaces/prediction.mojom.h"
16 #include "mojo/tools/embed/data.h" 16 #include "mojo/tools/embed/data.h"
17 #include "services/prediction/dictionary_service.h" 17 #include "services/prediction/dictionary_service.h"
18 #include "services/prediction/input_info.h" 18 #include "services/prediction/input_info.h"
19 #include "services/prediction/kDictFile.h" 19 #include "services/prediction/kDictFile.h"
20 #include "services/prediction/key_set.h" 20 #include "services/prediction/key_set.h"
21 #include "services/prediction/proximity_info_factory.h" 21 #include "services/prediction/proximity_info_factory.h"
22 #include "third_party/android_prediction/suggest/core/dictionary/dictionary.h" 22 #include "third_party/android_prediction/suggest/core/dictionary/dictionary.h"
23 #include "third_party/android_prediction/suggest/core/result/suggestion_results. h" 23 #include "third_party/android_prediction/suggest/core/result/suggestion_results. h"
24 #include "third_party/android_prediction/suggest/core/session/dic_traverse_sessi on.h" 24 #include "third_party/android_prediction/suggest/core/session/dic_traverse_sessi on.h"
25 #include "third_party/android_prediction/suggest/core/session/prev_words_info.h" 25 #include "third_party/android_prediction/suggest/core/session/prev_words_info.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 prev_word_codepoint_count[i] = prev_word_size; 191 prev_word_codepoint_count[i] = prev_word_size;
192 are_beginning_of_sentence[i] = prev_words[i]->is_beginning_of_sentence; 192 are_beginning_of_sentence[i] = prev_words[i]->is_beginning_of_sentence;
193 } 193 }
194 latinime::PrevWordsInfo prev_words_info = 194 latinime::PrevWordsInfo prev_words_info =
195 latinime::PrevWordsInfo(prev_word_codepoints, prev_word_codepoint_count, 195 latinime::PrevWordsInfo(prev_word_codepoints, prev_word_codepoint_count,
196 are_beginning_of_sentence, prevwords_count); 196 are_beginning_of_sentence, prevwords_count);
197 return prev_words_info; 197 return prev_words_info;
198 } 198 }
199 199
200 } // namespace prediction 200 } // namespace prediction
OLDNEW
« no previous file with comments | « services/prediction/dictionary_service.h ('k') | services/prediction/input_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698