Codebase list mozc / 9070e4f
Protobuf file location refactoring part 5. This is a series of CLs to move *.proto files into protocol/ directory. Following file will be moved in this CL. - config.proto This is just a refactoring. No user-visible behavior change should occur. BUG=none TEST=unittest Hiroyuki Komatsu authored 8 years ago Yohei Yukawa committed 8 years ago
139 changed file(s) with 527 addition(s) and 529 deletion(s). Raw diff Collapse all Expand all
139139 'type': 'none',
140140 'variables': {
141141 'proto_files': [
142 '../config/config.proto',
142 '../protocol/config.proto',
143143 ],
144144 },
145145 'actions': [
171171 '../../base/base.gyp:base',
172172 '../../composer/composer.gyp:key_parser',
173173 '../../config/config.gyp:config_handler',
174 '../../config/config.gyp:config_protocol',
175174 '../../dictionary/dictionary_base.gyp:user_dictionary',
176175 '../../dictionary/dictionary_base.gyp:user_pos',
177176 '../../net/net.gyp:http_client',
178177 '../../net/net.gyp:json_util',
179178 '../../protocol/protocol.gyp:commands_proto',
179 '../../protocol/protocol.gyp:config_proto',
180180 '../../session/session.gyp:session',
181181 '../../session/session.gyp:session_handler',
182182 '../../session/session.gyp:session_usage_observer',
4545 #include "base/version.h"
4646 #include "chrome/nacl/dictionary_downloader.h"
4747 #include "config/config_handler.h"
48 #include "config/config.pb.h"
4948 #include "data_manager/packed/packed_data_manager.h"
5049 #include "dictionary/user_dictionary_util.h"
5150 #include "dictionary/user_pos.h"
5251 #include "engine/engine_factory.h"
5352 #include "net/http_client.h"
5453 #include "net/http_client_pepper.h"
54 #include "net/json_util.h"
5555 #include "net/jsoncpp.h"
56 #include "net/json_util.h"
5756 #include "protocol/commands.pb.h"
57 #include "protocol/config.pb.h"
5858 #include "session/session_handler.h"
5959 #include "session/session_usage_observer.h"
6060 #include "usage_stats/usage_stats.h"
4949 #include "base/system_util.h"
5050 #include "base/util.h"
5151 #include "base/version.h"
52 #include "config/config.pb.h"
5352 #include "ipc/ipc.h"
5453 #include "protocol/commands.pb.h"
54 #include "protocol/config.pb.h"
5555
5656 #ifdef OS_MACOSX
5757 #include "base/mac_process.h"
4141 ],
4242 'dependencies': [
4343 '../base/base.gyp:base',
44 '../config/config.gyp:config_protocol',
4544 '../ipc/ipc.gyp:ipc',
4645 '../protocol/protocol.gyp:commands_proto',
46 '../protocol/protocol.gyp:config_proto',
4747 ],
4848 },
4949 {
5454 ],
5555 'dependencies': [
5656 '../base/base.gyp:base',
57 '../config/config.gyp:config_protocol',
5857 '../protocol/protocol.gyp:commands_proto',
58 '../protocol/protocol.gyp:config_proto',
5959 ],
6060 },
6161 ],
4242 #include "composer/table.h"
4343 #include "composer/type_corrected_query.h"
4444 #include "config/character_form_manager.h"
45 #include "config/config.pb.h"
4645 #include "config/config_handler.h"
4746 #include "protocol/commands.pb.h"
47 #include "protocol/config.pb.h"
4848
4949 // Use flags instead of constant for performance evaluation.
5050 DEFINE_uint64(max_typing_correction_query_candidates, 40,
5656 '../composer/composer.gyp:key_parser',
5757 '../config/config.gyp:character_form_manager',
5858 '../config/config.gyp:config_handler',
59 '../config/config.gyp:config_protocol',
59 '../protocol/protocol.gyp:config_proto',
6060 '../protobuf/protobuf.gyp:protobuf',
6161 '../protocol/protocol.gyp:commands_proto',
6262 '../transliteration/transliteration.gyp:transliteration',
225225 ],
226226 'dependencies': [
227227 '../base/base.gyp:base',
228 '../config/config.gyp:config_protocol',
228 '../protocol/protocol.gyp:config_proto',
229229 '../protocol/protocol.gyp:commands_proto',
230230 ],
231231 },
4040 #include "composer/key_parser.h"
4141 #include "composer/table.h"
4242 #include "config/character_form_manager.h"
43 #include "config/config.pb.h"
4443 #include "config/config_handler.h"
4544 #include "protocol/commands.pb.h"
45 #include "protocol/config.pb.h"
4646 #include "testing/base/public/gunit.h"
4747
4848 DECLARE_string(test_tmpdir);
4444 ],
4545 'dependencies': [
4646 '../config/config.gyp:config_handler',
47 '../config/config.gyp:config_protocol',
4847 '../protocol/protocol.gyp:commands_proto',
48 '../protocol/protocol.gyp:config_proto',
4949 '../session/session_base.gyp:request_test_util',
5050 '../testing/testing.gyp:gtest_main',
5151 'composer.gyp:composer',
4040 #include "composer/internal/typing_model.h"
4141 #include "composer/table.h"
4242 #include "composer/type_corrected_query.h"
43 #include "config/config.pb.h"
4443 #include "config/config_handler.h"
44 #include "protocol/config.pb.h"
4545
4646 DEFINE_bool(enable_typing_correction, false,
4747 "Force enabling typing correction feature "
4343 #include "base/trie.h"
4444 #include "base/util.h"
4545 #include "composer/internal/typing_model.h"
46 #include "config/config.pb.h"
4746 #include "config/config_handler.h"
4847 #include "protocol/commands.pb.h"
48 #include "protocol/config.pb.h"
4949
5050 namespace mozc {
5151 namespace composer {
3232 #include "base/port.h"
3333 #include "base/system_util.h"
3434 #include "composer/internal/composition_input.h"
35 #include "config/config.pb.h"
3635 #include "config/config_handler.h"
3736 #include "protocol/commands.pb.h"
37 #include "protocol/config.pb.h"
3838 #include "testing/base/public/gunit.h"
3939
4040 DECLARE_string(test_tmpdir);
4040 #include "base/scoped_ptr.h"
4141 #include "base/singleton.h"
4242 #include "base/util.h"
43 #include "config/config.pb.h"
4443 #include "config/config_handler.h"
44 #include "protocol/config.pb.h"
4545 #include "storage/lru_storage.h"
4646
4747 namespace mozc {
3434 #include <utility>
3535 #include "base/port.h"
3636 #include "base/scoped_ptr.h"
37 #include "config/config.pb.h"
37 #include "protocol/config.pb.h"
3838
3939 namespace mozc {
4040
3131 #include <string>
3232
3333 #include "base/system_util.h"
34 #include "config/config.pb.h"
3534 #include "config/config_handler.h"
35 #include "protocol/config.pb.h"
36 #include "testing/base/public/googletest.h"
3637 #include "testing/base/public/gunit.h"
37 #include "testing/base/public/googletest.h"
3838
3939 DECLARE_string(test_tmpdir);
4040
4141 'dependencies': [
4242 '../base/base.gyp:base',
4343 '../base/base.gyp:config_file_stream',
44 'config_protocol',
45 ],
46 },
47 {
48 'target_name': 'genproto_config',
49 'type': 'none',
50 'toolsets': ['host'],
51 'sources': [
52 'config.proto',
53 ],
54 'includes': [
55 '../protobuf/genproto.gypi',
56 ],
57 },
58 {
59 'target_name': 'config_protocol',
60 'type': 'static_library',
61 'hard_dependency': 1,
62 'sources': [
63 '<(proto_out_dir)/<(relative_dir)/config.pb.cc',
64 ],
65 'dependencies': [
66 '../protobuf/protobuf.gyp:protobuf',
67 'genproto_config#host',
68 ],
69 'export_dependent_settings': [
70 'genproto_config#host',
44 '../protocol/protocol.gyp:config_proto',
7145 ],
7246 },
7347 {
8458 '(target_platform=="NaCl" and _toolset=="target")', {
8559 'dependencies': [
8660 'config_handler',
87 'config_protocol',
61 '../protocol/protocol.gyp:config_proto',
8862 ],
8963 }],
9064 ],
9771 ],
9872 'dependencies': [
9973 'config_handler',
100 'config_protocol',
10174 '../base/base.gyp:base',
10275 '../base/base.gyp:config_file_stream',
76 '../protocol/protocol.gyp:config_proto',
10377 # storage.gyp:storage is depended by character_form_manager.
10478 # TODO(komatsu): delete this line.
10579 '../storage/storage.gyp:storage',
+0
-333
src/config/config.proto less more
0 // Copyright 2010-2015, Google Inc.
1 // All rights reserved.
2 //
3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are
5 // met:
6 //
7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer
11 // in the documentation and/or other materials provided with the
12 // distribution.
13 // * Neither the name of Google Inc. nor the names of its
14 // contributors may be used to endorse or promote products derived from
15 // this software without specific prior written permission.
16 //
17 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 // Protocol messages to be used for mozc configuration.
30 syntax = "proto2";
31
32 package mozc.config;
33
34 option java_outer_classname = "ProtoConfig";
35 option java_package = "org.mozc.android.inputmethod.japanese.protobuf";
36
37 message GeneralConfig {
38 //////////////////////////////////////////////////////////////
39 //
40 // General config (1-9)
41 //
42
43 // config version, corresponding to the suffix of config file
44 optional uint32 config_version = 1 [ default = 0 ];
45
46 // The product version that wrote this config
47 optional string last_modified_product_version = 2 [ default = "0.0.0.0" ];
48
49 // last modified time in UTC second
50 optional uint64 last_modified_time = 3 [ default = 0 ];
51
52 // These fileds are not used now
53 // platform of machine that wrote this config
54 optional string platform = 4 [ default = "" ];
55
56 // UI locale of machine that wrote this config
57 optional string ui_locale = 5 [ default = "" ];
58
59 // Whether to upload usage stats
60 // This flag is used only for Android.
61 optional bool upload_usage_stats = 6 [default = false];
62 };
63
64 message OBSOLETE_SyncConfig {
65 optional bool use_config_sync = 1 [ default = false ];
66 optional bool use_user_dictionary_sync = 2 [ default = false ];
67 optional bool use_user_history_sync = 3 [ default = false ];
68 optional bool use_learning_preference_sync = 4 [ default = false ];
69 optional bool use_contact_list_sync = 5 [ default = false ];
70 };
71
72 message Config {
73 // General config and logging/debugging:
74 // We won't use 2-9 and 20-39 ids anymore for historical reasons.
75 optional GeneralConfig general_config = 1;
76
77 //////////////////////////////////////////////////////////////
78 //
79 // Logging/Debugging (10-19)
80 //
81
82 // set verbose level of logging library (FLAGS_v)
83 optional int32 verbose_level = 10 [ default = 0 ];
84
85 // This flag is not used
86 optional bool DEPRECATED_log_all_commands = 11 [ default = false ];
87
88 //////////////////////////////////////////////////////////////
89 //
90 // Misc fields (20-39)
91 //
92
93 // Incognito mode:
94 // Disable all mutable operation if incognito_mode is true
95 optional bool incognito_mode = 20 [default = false];
96
97 // whether to show the set default dialog on startup
98 optional bool check_default = 22 [ default = true ];
99
100 // Presentation mode:
101 // disable all suggestion temporally.
102 optional bool presentation_mode = 23 [ default = false ];
103
104 //////////////////////////////////////////////////////////////
105 //
106 // Basic features (40-79)
107 //
108 enum PreeditMethod {
109 ROMAN = 0;
110 KANA = 1;
111 };
112
113 // Roman/Kana
114 optional PreeditMethod preedit_method = 40 [default = ROMAN];
115
116 enum SessionKeymap {
117 // If NONE is selected, it will be replaced with MSIME or KOTOERI.
118 // NONE is used only for a placeholder, so a configuration program
119 // should not show NONE as one of selections. NONE should be the
120 // last of the items due to the limitation of the Qt GUI's
121 // implementation. Note that keymap number should be correspoinding
122 // to the index of QComboBox in config dialog. Since NONE is not
123 // used, we set -1 here.
124 NONE = -1;
125 CUSTOM = 0;
126 ATOK = 1;
127 MSIME = 2;
128 KOTOERI = 3;
129 MOBILE = 4;
130 CHROMEOS = 5;
131 };
132 optional SessionKeymap session_keymap = 41 [default = NONE];
133
134 // custom keymap
135 // TODO(taku): replace it with repeated field
136 optional bytes custom_keymap_table = 42;
137
138 // custom roman table
139 optional bytes custom_roman_table = 43;
140
141 enum PunctuationMethod {
142 KUTEN_TOUTEN = 0;
143 COMMA_PERIOD = 1;
144 KUTEN_PERIOD = 2;
145 COMMA_TOUTEN = 3;
146 };
147 optional PunctuationMethod punctuation_method = 45 [default = KUTEN_TOUTEN];
148
149 enum SymbolMethod {
150 CORNER_BRACKET_MIDDLE_DOT = 0;
151 SQUARE_BRACKET_SLASH = 1;
152 CORNER_BRACKET_SLASH = 2;
153 SQUARE_BRACKET_MIDDLE_DOT = 3;
154 };
155 optional SymbolMethod symbol_method = 46 [default = CORNER_BRACKET_MIDDLE_DOT];
156
157 enum FundamentalCharacterForm {
158 FUNDAMENTAL_INPUT_MODE = 0; // follow the input mode
159 FUNDAMENTAL_FULL_WIDTH = 1; // always FullWidth
160 FUNDAMENTAL_HALF_WIDTH = 2; // always HalfWidth
161 };
162 optional FundamentalCharacterForm space_character_form = 47 [ default = FUNDAMENTAL_INPUT_MODE ];
163
164 // If this flag is true, Mozc toggles preedit method with some predefined
165 // key events when IME is turned on. Otherwise, Mozc ignores such kind of
166 // key events so that their preferred can be preserved even when the toggle
167 // key is pressed by accident.
168 // As for Mozc, only Windows client supports such kind of toggle so this flag
169 // is currently valid only on Windows.
170 //
171 // Background:
172 // Traditional Japanese IMEs have used "Roma-Ji" key in Japanese 106/109
173 // keyboard to toggle the preedit method between Roman and Kana style and
174 // this behavior was finally adopted into JIS X 4064:2002 as a basic
175 // functionality which is expected to support by a Japanese Input Method.
176 // However, people who are not aware of this functionality have been
177 // puzzled because the default key stroke is likely to be pressed
178 // by accident.
179 optional bool use_keyboard_to_change_preedit_method = 48 [ default = false ];
180
181 // User history learning
182 enum HistoryLearningLevel {
183 DEFAULT_HISTORY = 0;
184 READ_ONLY = 1;
185 NO_HISTORY = 2;
186 };
187 optional HistoryLearningLevel history_learning_level = 50 [default = DEFAULT_HISTORY];
188
189 enum SelectionShortcut {
190 NO_SHORTCUT = 0;
191 SHORTCUT_123456789 = 1;
192 SHORTCUT_ASDFGHJKL = 2;
193 };
194 optional SelectionShortcut selection_shortcut = 52 [default = SHORTCUT_123456789];
195
196 // character form (Halfwidth/Fullwidth
197 enum CharacterForm {
198 HALF_WIDTH = 0;
199 FULL_WIDTH = 1;
200 LAST_FORM = 2;
201 NO_CONVERSION = 3;
202 };
203 message CharacterFormRule {
204 optional string group = 1;
205 optional CharacterForm preedit_character_form = 2 [ default = FULL_WIDTH ];
206 optional CharacterForm conversion_character_form = 3 [ default = FULL_WIDTH ];
207 };
208 repeated CharacterFormRule character_form_rules = 54;
209
210 // auto IME turn off feature
211 optional bool use_auto_ime_turn_off = 56 [ default = true ];
212
213 // Toggle to use cascanding window for debuging.
214 optional bool use_cascading_window = 58 [ default = true ];
215
216 // Shift key mode switch
217 enum ShiftKeyModeSwitch {
218 OFF = 0; // Case insensitive
219 ASCII_INPUT_MODE = 1; // MSIME, ATOK behavior
220 KATAKANA_INPUT_MODE = 2; // Kotoeri behavior
221 };
222 optional ShiftKeyModeSwitch shift_key_mode_switch = 59 [ default = ASCII_INPUT_MODE ];
223
224 enum NumpadCharacterForm {
225 NUMPAD_INPUT_MODE = 0;
226 NUMPAD_FULL_WIDTH = 1;
227 NUMPAD_HALF_WIDTH = 2;
228 NUMPAD_DIRECT_INPUT = 3;
229 };
230 optional NumpadCharacterForm numpad_character_form = 60 [ default = NUMPAD_HALF_WIDTH ];
231
232 enum AutoConversionKey {
233 AUTO_CONVERSION_OFF = 0;
234 AUTO_CONVERSION_KUTEN = 1;
235 AUTO_CONVERSION_TOUTEN = 2;
236 AUTO_CONVERSION_QUESTION_MARK = 4;
237 AUTO_CONVERSION_EXCLAMATION_MARK = 8;
238 };
239 optional bool use_auto_conversion = 61 [ default = false ];
240
241 // can't use AutoConversionKey as a type since
242 // undefined enum type is not correctly handled.
243 optional uint32 auto_conversion_key = 62 [ default = 13 ];
244
245 // Mac only config items: yen_sign_character and use_japanese_layout.
246 enum YenSignCharacter {
247 YEN_SIGN = 0;
248 BACKSLASH = 1;
249 };
250 // Mac-original JIS key layout has "yen-sign" key which generates
251 // U+00A5 instead of U+005C and sometimes users get troubles with
252 // them because they expect backslashes which are rendered as
253 // yen-sign. If this configuration is BACKSLASH, Mozc will
254 // interpret U+005C even when the original key event is U+00A5.
255 optional YenSignCharacter yen_sign_character = 63 [ default = YEN_SIGN ];
256
257 // Use Japanese keyboard layout even when the user uses other
258 // keyboard layouts. In Mac OSX people can use several keyboard
259 // layouts such like French or Spanish but some people want to use
260 // Japanese layout for Japanese. See http://b/2917320
261 optional bool use_japanese_layout = 64 [ default = false ];
262
263 // Use kana modifier insensitive conversion.
264 // e.g. かつこう -> 学校
265 // Note that Request message has the same field.
266 // - Request's one is controlled by the client. A user cannot control it.
267 // On the other hand Config's is under a user's control.
268 // - Whether the feature is activated or not is decided by logical-AND
269 // of Request's and Config's.
270 optional bool use_kana_modifier_insensitive_conversion = 65 [ default = false ];
271
272 // Use typing correction feature.
273 // e.g. sunkai -> 深海
274 optional bool use_typing_correction = 66 [ default = false ];
275
276 //////////////////////////////////////////////////////////////
277 //
278 // Dictionary (80-99)
279 //
280 optional bool use_date_conversion = 80 [ default = true ];
281 optional bool use_single_kanji_conversion = 81 [ default = true ];
282 optional bool use_symbol_conversion = 82 [ default = true ];
283 optional bool use_number_conversion = 83 [ default = true ];
284 optional bool use_emoticon_conversion = 84 [ default = true ];
285 optional bool use_calculator = 85 [ default = true ];
286 optional bool use_t13n_conversion = 86 [ default = true ];
287 optional bool use_zip_code_conversion = 87 [ default = true ];
288 optional bool use_spelling_correction = 88 [ default = true ];
289 optional bool use_emoji_conversion = 89 [ default = false ];
290
291 message InformationListConfig {
292 optional bool use_local_usage_dictionary = 1 [ default = true ];
293 };
294 optional InformationListConfig information_list_config = 90;
295
296 //////////////////////////////////////////////////////////////
297 //
298 // Suggest (100-119)
299 //
300 // Use history-based suggest feature.
301 optional bool use_history_suggest = 100 [ default = true ];
302
303 // Use dictionary-based suggest feature.
304 optional bool use_dictionary_suggest = 101 [ default = true ];
305
306 // Use realtime conversion feature.
307 optional bool use_realtime_conversion = 102 [ default = true ];
308
309 // Size of suggestions.
310 optional uint32 suggestions_size = 110 [ default = 3 ];
311
312 //////////////////////////////////////////////////////////////
313 //
314 // Renderer (120-139)
315 //
316 // Use mode indicator feature.
317 optional bool use_mode_indicator = 120 [ default = true ];
318
319 //////////////////////////////////////////////////////////////
320 //
321 // Cloud (300-319)
322 //
323 // Configuration for cloud sync feature. This field is obsolete.
324 optional OBSOLETE_SyncConfig OBSOLETE_sync_config = 300;
325
326 // Allow the cloud handwriting. The handwriting UI has to notice
327 // user before activating the feature, and set this field to true
328 // when the user permit.
329 // NOTE: OSS version does not handle this field.
330 optional bool allow_cloud_handwriting = 301 [ default = false ];
331
332 };
4141 #include "base/system_util.h"
4242 #include "base/util.h"
4343 #include "base/version.h"
44 #include "config/config.pb.h"
44 #include "protocol/config.pb.h"
4545
4646 namespace mozc {
4747 namespace config {
3434 #include <string>
3535
3636 #include "base/port.h"
37 #include "config/config.pb.h"
37 #include "protocol/config.pb.h"
3838
3939 namespace mozc {
4040 namespace config {
4040 #include "base/port.h"
4141 #include "base/system_util.h"
4242 #include "base/util.h"
43 #include "config/config.pb.h"
43 #include "protocol/config.pb.h"
4444 #include "testing/base/public/googletest.h"
4545 #include "testing/base/public/gunit.h"
4646
5353
5454 #if defined(OS_ANDROID) || defined(__native_client__)
5555 #include "config/config_handler.h"
56 #include "config/config.pb.h"
56 #include "protocol/config.pb.h"
5757 #endif // OS_ANDROID || __native_client__
5858
5959 #include "base/file_util.h"
3939
4040 #ifdef OS_ANDROID
4141 #include "config/config_handler.h"
42 #include "config/config.pb.h"
42 #include "protocol/config.pb.h"
4343
4444 DECLARE_string(test_tmpdir);
4545 #endif // OS_ANDROID
118118 'dependencies': [
119119 '../base/base.gyp:base',
120120 '../config/config.gyp:config_handler',
121 '../config/config.gyp:config_protocol',
122121 '../data_manager/data_manager.gyp:user_pos_manager',
123122 '../dictionary/dictionary.gyp:suffix_dictionary',
124123 '../dictionary/dictionary_base.gyp:pos_matcher',
125124 '../dictionary/dictionary_base.gyp:suppression_dictionary',
126125 '../protocol/protocol.gyp:commands_proto',
126 '../protocol/protocol.gyp:config_proto',
127127 '../rewriter/rewriter_base.gyp:gen_rewriter_files#host',
128128 'connector',
129129 'immutable_converter_interface',
4040 #include "base/util.h"
4141 #include "composer/composer.h"
4242 #include "composer/table.h"
43 #include "config/config.pb.h"
4443 #include "converter/conversion_request.h"
4544 #include "converter/converter_interface.h"
4645 #include "converter/lattice.h"
5049 #include "engine/engine_interface.h"
5150 #include "engine/mock_data_engine_factory.h"
5251 #include "protocol/commands.pb.h"
52 #include "protocol/config.pb.h"
5353
5454 DEFINE_int32(max_conversion_candidates_size, 200, "maximum candidates size");
5555 DEFINE_string(user_profile_dir, "", "path to user profile directory");
4040 ],
4141 'dependencies': [
4242 '../composer/composer.gyp:composer',
43 '../config/config.gyp:config_protocol',
4443 '../engine/engine.gyp:oss_engine_factory',
4544 '../engine/engine.gyp:engine',
4645 '../engine/engine.gyp:engine_factory',
4746 '../engine/engine.gyp:mock_data_engine_factory',
4847 '../protocol/protocol.gyp:commands_proto',
48 '../protocol/protocol.gyp:config_proto',
4949 'converter.gyp:converter',
5050 'converter_base.gyp:pos_id_printer',
5151 'converter_base.gyp:segments',
3333 #include "base/system_util.h"
3434 #include "composer/composer.h"
3535 #include "composer/table.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/conversion_request.h"
3938 #include "converter/converter_interface.h"
4140 #include "engine/engine_factory.h"
4241 #include "engine/engine_interface.h"
4342 #include "protocol/commands.pb.h"
43 #include "protocol/config.pb.h"
4444 #include "testing/base/public/gunit.h"
4545
4646 #ifdef OS_ANDROID
3838 #include "base/util.h"
3939 #include "composer/composer.h"
4040 #include "composer/table.h"
41 #include "config/config.pb.h"
4241 #include "config/config_handler.h"
4342 #include "converter/connector.h"
4443 #include "converter/conversion_request.h"
7069 #include "prediction/suggestion_filter.h"
7170 #include "prediction/user_history_predictor.h"
7271 #include "protocol/commands.pb.h"
72 #include "protocol/config.pb.h"
7373 #include "rewriter/rewriter.h"
7474 #include "rewriter/rewriter_interface.h"
7575 #include "testing/base/public/gunit.h"
4141 #include "base/stl_util.h"
4242 #include "base/string_piece.h"
4343 #include "base/util.h"
44 #include "config/config.pb.h"
4544 #include "config/config_handler.h"
4645 #include "converter/connector.h"
4746 #include "converter/conversion_request.h"
5958 #include "dictionary/suppression_dictionary.h"
6059 #include "prediction/suggestion_filter.h"
6160 #include "protocol/commands.pb.h"
61 #include "protocol/config.pb.h"
6262
6363 using mozc::dictionary::DictionaryInterface;
6464 using mozc::dictionary::POSMatcher;
3838 #include "base/string_piece.h"
3939 #include "base/system_util.h"
4040 #include "base/util.h"
41 #include "config/config.pb.h"
4241 #include "config/config_handler.h"
4342 #include "converter/connector.h"
4443 #include "converter/conversion_request.h"
5857 #include "dictionary/user_dictionary_stub.h"
5958 #include "prediction/suggestion_filter.h"
6059 #include "protocol/commands.pb.h"
60 #include "protocol/config.pb.h"
6161 #include "testing/base/public/gunit.h"
6262
6363 DECLARE_string(test_tmpdir);
3434 #include "base/port.h"
3535 #include "base/scoped_ptr.h"
3636 #include "base/system_util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "converter/connector.h"
4039 #include "converter/conversion_request.h"
5352 #include "dictionary/system/value_dictionary.h"
5453 #include "dictionary/user_dictionary_stub.h"
5554 #include "prediction/suggestion_filter.h"
55 #include "protocol/config.pb.h"
5656 #include "testing/base/public/gunit.h"
5757
5858 DECLARE_string(test_tmpdir);
3636 #include "base/logging.h"
3737 #include "base/port.h"
3838 #include "base/system_util.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
4140 #include "converter/quality_regression_util.h"
4241 #include "engine/chromeos_engine_factory.h"
4342 #include "engine/engine_factory.h"
4443 #include "engine/engine_interface.h"
4544 #include "protocol/commands.pb.h"
45 #include "protocol/config.pb.h"
4646 #include "session/request_test_util.h"
4747 #include "testing/base/public/gunit.h"
4848
3434 #include "base/number_util.h"
3535 #include "base/system_util.h"
3636 #include "base/util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
38 #include "protocol/config.pb.h"
3939 #include "testing/base/public/gunit.h"
4040
4141 DECLARE_string(test_tmpdir);
6464 'dependencies': [
6565 '../base/base.gyp:base',
6666 '../config/config.gyp:config_handler',
67 '../config/config.gyp:config_protocol',
67 '../protocol/protocol.gyp:config_proto',
6868 '../protocol/protocol.gyp:user_dictionary_storage_proto',
6969 'dictionary_base.gyp:pos_matcher',
7070 'dictionary_base.gyp:suppression_dictionary',
172172 '../base/base.gyp:base',
173173 '../base/base.gyp:config_file_stream',
174174 '../config/config.gyp:config_handler',
175 '../config/config.gyp:config_protocol',
175 '../protocol/protocol.gyp:config_proto',
176 '../protocol/protocol.gyp:user_dictionary_storage_proto',
176177 '../protocol/protocol.gyp:user_dictionary_storage_proto',
177178 '../usage_stats/usage_stats_base.gyp:usage_stats',
178179 'gen_pos_map#host',
3333 #include "base/logging.h"
3434 #include "base/string_piece.h"
3535 #include "base/util.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "dictionary/dictionary_interface.h"
3938 #include "dictionary/dictionary_token.h"
4039 #include "dictionary/pos_matcher.h"
4140 #include "dictionary/suppression_dictionary.h"
41 #include "protocol/config.pb.h"
4242
4343 namespace mozc {
4444 namespace dictionary {
3434 #include "base/port.h"
3535 #include "base/system_util.h"
3636 #include "base/util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "converter/node_allocator.h"
4039 #include "data_manager/testing/mock_data_manager.h"
4544 #include "dictionary/system/system_dictionary.h"
4645 #include "dictionary/system/value_dictionary.h"
4746 #include "dictionary/user_dictionary_stub.h"
47 #include "protocol/config.pb.h"
4848 #include "testing/base/public/gunit.h"
4949
5050 DECLARE_string(test_tmpdir);
4040 #include "base/stl_util.h"
4141 #include "base/thread.h"
4242 #include "base/util.h"
43 #include "config/config.pb.h"
4443 #include "config/config_handler.h"
4544 #include "dictionary/dictionary_token.h"
4645 #include "dictionary/pos_matcher.h"
4847 #include "dictionary/user_dictionary_storage.h"
4948 #include "dictionary/user_dictionary_util.h"
5049 #include "dictionary/user_pos.h"
50 #include "protocol/config.pb.h"
5151 #include "usage_stats/usage_stats.h"
5252
5353 namespace mozc {
4242 #include "base/system_util.h"
4343 #include "base/trie.h"
4444 #include "base/util.h"
45 #include "config/config.pb.h"
4645 #include "config/config_handler.h"
4746 #include "data_manager/testing/mock_user_pos_manager.h"
4847 #include "dictionary/dictionary_test_util.h"
5251 #include "dictionary/user_dictionary_storage.h"
5352 #include "dictionary/user_pos.h"
5453 #include "dictionary/user_pos_interface.h"
54 #include "protocol/config.pb.h"
5555 #include "testing/base/public/googletest.h"
5656 #include "testing/base/public/gunit.h"
5757 #include "usage_stats/usage_stats.h"
4040 #endif
4141
4242 #ifdef ENABLE_CLOUD_HANDWRITING
43 #include "config/config.pb.h"
4443 #include "config/config_handler.h"
4544 #include "handwriting/cloud_handwriting.h"
45 #include "protocol/config.pb.h"
4646 #endif // ENABLE_CLOUD_HANDWRITING
4747
4848 #include "base/logging.h"
3232 #include <QtGui/QTableWidget>
3333 #include "base/port.h"
3434 #include "base/scoped_ptr.h"
35 #include "config/config.pb.h"
35 #include "protocol/config.pb.h"
3636
3737 namespace mozc {
3838 namespace config {
4545 #include "base/run_level.h"
4646 #include "base/util.h"
4747 #include "client/client.h"
48 #include "config/config.pb.h"
4948 #include "config/config_handler.h"
5049 #include "config/stats_config_util.h"
5150 #include "gui/base/win_util.h"
5352 #include "gui/config_dialog/roman_table_editor.h"
5453 #include "ipc/ipc.h"
5554 #include "protocol/commands.pb.h"
55 #include "protocol/config.pb.h"
5656 #include "session/internal/keymap.h"
5757
5858 namespace {
3737 #include <string>
3838 #include "base/port.h"
3939 #include "base/scoped_ptr.h"
40 #include "config/config.pb.h"
4140 #include "gui/config_dialog/ui_config_dialog.h"
41 #include "protocol/config.pb.h"
4242
4343 namespace mozc {
4444
477477 '../client/client.gyp:client',
478478 '../composer/composer.gyp:key_parser',
479479 '../config/config.gyp:config_handler',
480 '../config/config.gyp:config_protocol',
481480 '../config/config.gyp:stats_config_util',
482481 '../protocol/protocol.gyp:commands_proto',
482 '../protocol/protocol.gyp:config_proto',
483483 '../session/session_base.gyp:keymap',
484484 'gen_config_dialog_files',
485485 ],
592592 '../base/base.gyp:base',
593593 '../client/client.gyp:client',
594594 '../config/config.gyp:config_handler',
595 '../config/config.gyp:config_protocol',
596595 '../data_manager/data_manager.gyp:user_pos_manager',
597596 '../dictionary/dictionary_base.gyp:user_dictionary',
598597 '../protocol/protocol.gyp:commands_proto',
598 '../protocol/protocol.gyp:config_proto',
599599 '../protocol/protocol.gyp:user_dictionary_storage_proto',
600600 'gen_config_dialog_files',
601601 'gen_dictionary_tool_files',
808808 ],
809809 'dependencies': [
810810 '../client/client.gyp:client',
811 '../config/config.gyp:config_protocol',
812811 '../ipc/ipc.gyp:ipc',
813812 '../protocol/protocol.gyp:commands_proto',
813 '../protocol/protocol.gyp:config_proto',
814814 'gen_set_default_dialog_files',
815815 ],
816816 'conditions': [
3636 #include "base/logging.h"
3737 #include "base/util.h"
3838 #include "client/client.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
40 #include "protocol/config.pb.h"
4141
4242 #ifdef OS_WIN
4343 #include "win32/base/migration_util.h"
5050 #include "base/process.h"
5151 #include "base/util.h"
5252 #include "client/client.h"
53 #include "config/config.pb.h"
5453 #include "ipc/ipc.h"
5554 #include "protocol/commands.pb.h"
55 #include "protocol/config.pb.h"
5656 #include "renderer/renderer_client.h"
5757 #include "session/ime_switch_util.h"
5858
4141 '../base/base.gyp:base',
4242 '../client/client.gyp:client',
4343 '../client/client.gyp:client_mock',
44 '../config/config.gyp:config_protocol',
4544 '../protocol/protocol.gyp:commands_proto',
45 '../protocol/protocol.gyp:config_proto',
4646 '../protocol/protocol.gyp:renderer_proto',
4747 '../renderer/renderer.gyp:renderer_client',
4848 '../session/session_base.gyp:ime_switch_util',
00 MAJOR=2
11 MINOR=17
2 BUILD=2103
2 BUILD=2104
33 REVISION=102
44 # NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
55 # downloaded by NaCl Mozc.
4444 #include "base/number_util.h"
4545 #include "base/util.h"
4646 #include "composer/composer.h"
47 #include "config/config.pb.h"
4847 #include "config/config_handler.h"
4948 #include "converter/connector.h"
5049 #include "converter/conversion_request.h"
6059 #include "prediction/zero_query_data.h"
6160 #include "prediction/zero_query_number_data.h"
6261 #include "protocol/commands.pb.h"
62 #include "protocol/config.pb.h"
6363
6464 // This flag is set by predictor.cc
6565 // We can remove this after the ambiguity expansion feature get stable.
4343 #include "composer/composer.h"
4444 #include "composer/internal/typing_model.h"
4545 #include "composer/table.h"
46 #include "config/config.pb.h"
4746 #include "config/config_handler.h"
4847 #include "converter/connector.h"
4948 #include "converter/conversion_request.h"
6665 #include "dictionary/system/system_dictionary.h"
6766 #include "prediction/suggestion_filter.h"
6867 #include "protocol/commands.pb.h"
68 #include "protocol/config.pb.h"
6969 #include "session/request_test_util.h"
7070 #include "testing/base/public/gmock.h"
7171 #include "testing/base/public/googletest.h"
4343 'dependencies': [
4444 '../composer/composer.gyp:composer',
4545 '../config/config.gyp:config_handler',
46 '../config/config.gyp:config_protocol',
4746 '../converter/converter_base.gyp:connector',
4847 '../converter/converter_base.gyp:converter_mock',
4948 '../converter/converter_base.gyp:immutable_converter',
5857 '../dictionary/system/system_dictionary.gyp:system_dictionary',
5958 '../dictionary/system/system_dictionary.gyp:value_dictionary',
6059 '../protocol/protocol.gyp:commands_proto',
60 '../protocol/protocol.gyp:config_proto',
6161 '../session/session_base.gyp:request_test_util',
6262 '../testing/testing.gyp:gtest_main',
6363 'prediction.gyp:prediction',
3333
3434 #include "base/flags.h"
3535 #include "base/logging.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/segments.h"
3938 #include "protocol/commands.pb.h"
39 #include "protocol/config.pb.h"
4040
4141 DECLARE_bool(enable_expansion_for_dictionary_predictor);
4242 DECLARE_bool(enable_expansion_for_user_history_predictor);
3535 #include "base/singleton.h"
3636 #include "base/system_util.h"
3737 #include "composer/composer.h"
38 #include "config/config.pb.h"
3938 #include "config/config_handler.h"
4039 #include "converter/conversion_request.h"
4140 #include "converter/segments.h"
4544 #include "prediction/predictor_interface.h"
4645 #include "prediction/user_history_predictor.h"
4746 #include "protocol/commands.pb.h"
47 #include "protocol/config.pb.h"
4848 #include "session/request_test_util.h"
4949 #include "testing/base/public/gmock.h"
5050 #include "testing/base/public/googletest.h"
4141 #include "base/trie.h"
4242 #include "base/util.h"
4343 #include "composer/composer.h"
44 #include "config/config.pb.h"
4544 #include "config/config_handler.h"
4645 #include "converter/conversion_request.h"
4746 #include "converter/segments.h"
5150 #include "prediction/predictor_interface.h"
5251 #include "prediction/user_history_predictor.pb.h"
5352 #include "protocol/commands.pb.h"
53 #include "protocol/config.pb.h"
5454 #include "rewriter/variants_rewriter.h"
5555 #include "storage/encrypted_string_storage.h"
5656 #include "storage/lru_cache.h"
4040 #include "base/util.h"
4141 #include "composer/composer.h"
4242 #include "composer/table.h"
43 #include "config/config.pb.h"
4443 #include "config/config_handler.h"
4544 #include "converter/conversion_request.h"
4645 #include "converter/segments.h"
4847 #include "dictionary/dictionary_mock.h"
4948 #include "dictionary/suppression_dictionary.h"
5049 #include "protocol/commands.pb.h"
50 #include "protocol/config.pb.h"
5151 #include "session/request_test_util.h"
5252 #include "testing/base/public/googletest.h"
5353 #include "testing/base/public/gunit.h"
3434
3535 syntax = "proto2";
3636
37 import "config/config.proto";
3837 import "protocol/candidates.proto";
38 import "protocol/config.proto";
3939 import "protocol/user_dictionary_storage.proto";
4040
4141 package mozc.commands;
0 // Copyright 2010-2015, Google Inc.
1 // All rights reserved.
2 //
3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions are
5 // met:
6 //
7 // * Redistributions of source code must retain the above copyright
8 // notice, this list of conditions and the following disclaimer.
9 // * Redistributions in binary form must reproduce the above
10 // copyright notice, this list of conditions and the following disclaimer
11 // in the documentation and/or other materials provided with the
12 // distribution.
13 // * Neither the name of Google Inc. nor the names of its
14 // contributors may be used to endorse or promote products derived from
15 // this software without specific prior written permission.
16 //
17 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 // Protocol messages to be used for mozc configuration.
30 syntax = "proto2";
31
32 package mozc.config;
33
34 option java_outer_classname = "ProtoConfig";
35 option java_package = "org.mozc.android.inputmethod.japanese.protobuf";
36
37 message GeneralConfig {
38 //////////////////////////////////////////////////////////////
39 //
40 // General config (1-9)
41 //
42
43 // config version, corresponding to the suffix of config file
44 optional uint32 config_version = 1 [ default = 0 ];
45
46 // The product version that wrote this config
47 optional string last_modified_product_version = 2 [ default = "0.0.0.0" ];
48
49 // last modified time in UTC second
50 optional uint64 last_modified_time = 3 [ default = 0 ];
51
52 // These fileds are not used now
53 // platform of machine that wrote this config
54 optional string platform = 4 [ default = "" ];
55
56 // UI locale of machine that wrote this config
57 optional string ui_locale = 5 [ default = "" ];
58
59 // Whether to upload usage stats
60 // This flag is used only for Android.
61 optional bool upload_usage_stats = 6 [default = false];
62 };
63
64 message OBSOLETE_SyncConfig {
65 optional bool use_config_sync = 1 [ default = false ];
66 optional bool use_user_dictionary_sync = 2 [ default = false ];
67 optional bool use_user_history_sync = 3 [ default = false ];
68 optional bool use_learning_preference_sync = 4 [ default = false ];
69 optional bool use_contact_list_sync = 5 [ default = false ];
70 };
71
72 message Config {
73 // General config and logging/debugging:
74 // We won't use 2-9 and 20-39 ids anymore for historical reasons.
75 optional GeneralConfig general_config = 1;
76
77 //////////////////////////////////////////////////////////////
78 //
79 // Logging/Debugging (10-19)
80 //
81
82 // set verbose level of logging library (FLAGS_v)
83 optional int32 verbose_level = 10 [ default = 0 ];
84
85 // This flag is not used
86 optional bool DEPRECATED_log_all_commands = 11 [ default = false ];
87
88 //////////////////////////////////////////////////////////////
89 //
90 // Misc fields (20-39)
91 //
92
93 // Incognito mode:
94 // Disable all mutable operation if incognito_mode is true
95 optional bool incognito_mode = 20 [default = false];
96
97 // whether to show the set default dialog on startup
98 optional bool check_default = 22 [ default = true ];
99
100 // Presentation mode:
101 // disable all suggestion temporally.
102 optional bool presentation_mode = 23 [ default = false ];
103
104 //////////////////////////////////////////////////////////////
105 //
106 // Basic features (40-79)
107 //
108 enum PreeditMethod {
109 ROMAN = 0;
110 KANA = 1;
111 };
112
113 // Roman/Kana
114 optional PreeditMethod preedit_method = 40 [default = ROMAN];
115
116 enum SessionKeymap {
117 // If NONE is selected, it will be replaced with MSIME or KOTOERI.
118 // NONE is used only for a placeholder, so a configuration program
119 // should not show NONE as one of selections. NONE should be the
120 // last of the items due to the limitation of the Qt GUI's
121 // implementation. Note that keymap number should be correspoinding
122 // to the index of QComboBox in config dialog. Since NONE is not
123 // used, we set -1 here.
124 NONE = -1;
125 CUSTOM = 0;
126 ATOK = 1;
127 MSIME = 2;
128 KOTOERI = 3;
129 MOBILE = 4;
130 CHROMEOS = 5;
131 };
132 optional SessionKeymap session_keymap = 41 [default = NONE];
133
134 // custom keymap
135 // TODO(taku): replace it with repeated field
136 optional bytes custom_keymap_table = 42;
137
138 // custom roman table
139 optional bytes custom_roman_table = 43;
140
141 enum PunctuationMethod {
142 KUTEN_TOUTEN = 0;
143 COMMA_PERIOD = 1;
144 KUTEN_PERIOD = 2;
145 COMMA_TOUTEN = 3;
146 };
147 optional PunctuationMethod punctuation_method = 45 [default = KUTEN_TOUTEN];
148
149 enum SymbolMethod {
150 CORNER_BRACKET_MIDDLE_DOT = 0;
151 SQUARE_BRACKET_SLASH = 1;
152 CORNER_BRACKET_SLASH = 2;
153 SQUARE_BRACKET_MIDDLE_DOT = 3;
154 };
155 optional SymbolMethod symbol_method = 46 [default = CORNER_BRACKET_MIDDLE_DOT];
156
157 enum FundamentalCharacterForm {
158 FUNDAMENTAL_INPUT_MODE = 0; // follow the input mode
159 FUNDAMENTAL_FULL_WIDTH = 1; // always FullWidth
160 FUNDAMENTAL_HALF_WIDTH = 2; // always HalfWidth
161 };
162 optional FundamentalCharacterForm space_character_form = 47 [ default = FUNDAMENTAL_INPUT_MODE ];
163
164 // If this flag is true, Mozc toggles preedit method with some predefined
165 // key events when IME is turned on. Otherwise, Mozc ignores such kind of
166 // key events so that their preferred can be preserved even when the toggle
167 // key is pressed by accident.
168 // As for Mozc, only Windows client supports such kind of toggle so this flag
169 // is currently valid only on Windows.
170 //
171 // Background:
172 // Traditional Japanese IMEs have used "Roma-Ji" key in Japanese 106/109
173 // keyboard to toggle the preedit method between Roman and Kana style and
174 // this behavior was finally adopted into JIS X 4064:2002 as a basic
175 // functionality which is expected to support by a Japanese Input Method.
176 // However, people who are not aware of this functionality have been
177 // puzzled because the default key stroke is likely to be pressed
178 // by accident.
179 optional bool use_keyboard_to_change_preedit_method = 48 [ default = false ];
180
181 // User history learning
182 enum HistoryLearningLevel {
183 DEFAULT_HISTORY = 0;
184 READ_ONLY = 1;
185 NO_HISTORY = 2;
186 };
187 optional HistoryLearningLevel history_learning_level = 50 [default = DEFAULT_HISTORY];
188
189 enum SelectionShortcut {
190 NO_SHORTCUT = 0;
191 SHORTCUT_123456789 = 1;
192 SHORTCUT_ASDFGHJKL = 2;
193 };
194 optional SelectionShortcut selection_shortcut = 52 [default = SHORTCUT_123456789];
195
196 // character form (Halfwidth/Fullwidth
197 enum CharacterForm {
198 HALF_WIDTH = 0;
199 FULL_WIDTH = 1;
200 LAST_FORM = 2;
201 NO_CONVERSION = 3;
202 };
203 message CharacterFormRule {
204 optional string group = 1;
205 optional CharacterForm preedit_character_form = 2 [ default = FULL_WIDTH ];
206 optional CharacterForm conversion_character_form = 3 [ default = FULL_WIDTH ];
207 };
208 repeated CharacterFormRule character_form_rules = 54;
209
210 // auto IME turn off feature
211 optional bool use_auto_ime_turn_off = 56 [ default = true ];
212
213 // Toggle to use cascanding window for debuging.
214 optional bool use_cascading_window = 58 [ default = true ];
215
216 // Shift key mode switch
217 enum ShiftKeyModeSwitch {
218 OFF = 0; // Case insensitive
219 ASCII_INPUT_MODE = 1; // MSIME, ATOK behavior
220 KATAKANA_INPUT_MODE = 2; // Kotoeri behavior
221 };
222 optional ShiftKeyModeSwitch shift_key_mode_switch = 59 [ default = ASCII_INPUT_MODE ];
223
224 enum NumpadCharacterForm {
225 NUMPAD_INPUT_MODE = 0;
226 NUMPAD_FULL_WIDTH = 1;
227 NUMPAD_HALF_WIDTH = 2;
228 NUMPAD_DIRECT_INPUT = 3;
229 };
230 optional NumpadCharacterForm numpad_character_form = 60 [ default = NUMPAD_HALF_WIDTH ];
231
232 enum AutoConversionKey {
233 AUTO_CONVERSION_OFF = 0;
234 AUTO_CONVERSION_KUTEN = 1;
235 AUTO_CONVERSION_TOUTEN = 2;
236 AUTO_CONVERSION_QUESTION_MARK = 4;
237 AUTO_CONVERSION_EXCLAMATION_MARK = 8;
238 };
239 optional bool use_auto_conversion = 61 [ default = false ];
240
241 // can't use AutoConversionKey as a type since
242 // undefined enum type is not correctly handled.
243 optional uint32 auto_conversion_key = 62 [ default = 13 ];
244
245 // Mac only config items: yen_sign_character and use_japanese_layout.
246 enum YenSignCharacter {
247 YEN_SIGN = 0;
248 BACKSLASH = 1;
249 };
250 // Mac-original JIS key layout has "yen-sign" key which generates
251 // U+00A5 instead of U+005C and sometimes users get troubles with
252 // them because they expect backslashes which are rendered as
253 // yen-sign. If this configuration is BACKSLASH, Mozc will
254 // interpret U+005C even when the original key event is U+00A5.
255 optional YenSignCharacter yen_sign_character = 63 [ default = YEN_SIGN ];
256
257 // Use Japanese keyboard layout even when the user uses other
258 // keyboard layouts. In Mac OSX people can use several keyboard
259 // layouts such like French or Spanish but some people want to use
260 // Japanese layout for Japanese. See http://b/2917320
261 optional bool use_japanese_layout = 64 [ default = false ];
262
263 // Use kana modifier insensitive conversion.
264 // e.g. かつこう -> 学校
265 // Note that Request message has the same field.
266 // - Request's one is controlled by the client. A user cannot control it.
267 // On the other hand Config's is under a user's control.
268 // - Whether the feature is activated or not is decided by logical-AND
269 // of Request's and Config's.
270 optional bool use_kana_modifier_insensitive_conversion = 65 [ default = false ];
271
272 // Use typing correction feature.
273 // e.g. sunkai -> 深海
274 optional bool use_typing_correction = 66 [ default = false ];
275
276 //////////////////////////////////////////////////////////////
277 //
278 // Dictionary (80-99)
279 //
280 optional bool use_date_conversion = 80 [ default = true ];
281 optional bool use_single_kanji_conversion = 81 [ default = true ];
282 optional bool use_symbol_conversion = 82 [ default = true ];
283 optional bool use_number_conversion = 83 [ default = true ];
284 optional bool use_emoticon_conversion = 84 [ default = true ];
285 optional bool use_calculator = 85 [ default = true ];
286 optional bool use_t13n_conversion = 86 [ default = true ];
287 optional bool use_zip_code_conversion = 87 [ default = true ];
288 optional bool use_spelling_correction = 88 [ default = true ];
289 optional bool use_emoji_conversion = 89 [ default = false ];
290
291 message InformationListConfig {
292 optional bool use_local_usage_dictionary = 1 [ default = true ];
293 };
294 optional InformationListConfig information_list_config = 90;
295
296 //////////////////////////////////////////////////////////////
297 //
298 // Suggest (100-119)
299 //
300 // Use history-based suggest feature.
301 optional bool use_history_suggest = 100 [ default = true ];
302
303 // Use dictionary-based suggest feature.
304 optional bool use_dictionary_suggest = 101 [ default = true ];
305
306 // Use realtime conversion feature.
307 optional bool use_realtime_conversion = 102 [ default = true ];
308
309 // Size of suggestions.
310 optional uint32 suggestions_size = 110 [ default = 3 ];
311
312 //////////////////////////////////////////////////////////////
313 //
314 // Renderer (120-139)
315 //
316 // Use mode indicator feature.
317 optional bool use_mode_indicator = 120 [ default = true ];
318
319 //////////////////////////////////////////////////////////////
320 //
321 // Cloud (300-319)
322 //
323 // Configuration for cloud sync feature. This field is obsolete.
324 optional OBSOLETE_SyncConfig OBSOLETE_sync_config = 300;
325
326 // Allow the cloud handwriting. The handwriting UI has to notice
327 // user before activating the feature, and set this field to true
328 // when the user permit.
329 // NOTE: OSS version does not handle this field.
330 optional bool allow_cloud_handwriting = 301 [ default = false ];
331
332 };
2626 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2727 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828
29 # session_base.gyp defines targets for lower layers to link to the session
30 # modules, so modules in lower layers do not depend on ones in higher layers,
31 # avoiding circular dependencies.
3229 {
3330 'variables': {
3431 'relative_dir': 'protocol',
4643 '../protobuf/genproto.gypi',
4744 ],
4845 'dependencies': [
49 '../config/config.gyp:genproto_config',
46 'genproto_config_proto',
5047 ],
5148 },
5249 {
7572 '../protobuf/genproto.gypi',
7673 ],
7774 'dependencies': [
78 '../config/config.gyp:genproto_config',
75 'genproto_config_proto',
7976 'genproto_user_dictionary_storage_proto',
8077 ],
8178 },
8784 '<(proto_out_dir)/<(relative_dir)/commands.pb.cc',
8885 ],
8986 'dependencies': [
90 '../config/config.gyp:config_protocol',
9187 '../protobuf/protobuf.gyp:protobuf',
9288 'candidates_proto',
89 'config_proto',
9390 'genproto_commands_proto#host',
9491 'user_dictionary_storage_proto',
9592 ],
9895 ],
9996 },
10097 {
98 'target_name': 'genproto_config_proto',
99 'type': 'none',
100 'toolsets': ['host'],
101 'sources': [
102 'config.proto',
103 ],
104 'includes': [
105 '../protobuf/genproto.gypi',
106 ],
107 },
108 {
109 'target_name': 'config_proto',
110 'type': 'static_library',
111 'hard_dependency': 1,
112 'sources': [
113 '<(proto_out_dir)/<(relative_dir)/config.pb.cc',
114 ],
115 'dependencies': [
116 '../protobuf/protobuf.gyp:protobuf',
117 'genproto_config_proto#host',
118 ],
119 'export_dependent_settings': [
120 'genproto_config_proto#host',
121 ],
122 },
123 {
101124 'target_name': 'genproto_renderer_proto',
102125 'type': 'none',
103126 'toolsets': ['host'],
118141 '<(proto_out_dir)/<(relative_dir)/renderer_style.pb.cc',
119142 ],
120143 'dependencies': [
121 '../config/config.gyp:config_protocol',
122144 '../protobuf/protobuf.gyp:protobuf',
123145 'commands_proto',
146 'config_proto',
124147 'genproto_renderer_proto#host'
125148 ],
126149 'export_dependent_settings': [
6767 ],
6868 'dependencies': [
6969 '../base/base.gyp:base',
70 '../config/config.gyp:config_protocol',
7170 '../ipc/ipc.gyp:ipc',
7271 '../protocol/protocol.gyp:commands_proto',
72 '../protocol/protocol.gyp:config_proto',
7373 '../protocol/protocol.gyp:renderer_proto',
7474 ],
7575 },
229229 ],
230230 'dependencies': [
231231 '../base/base.gyp:base',
232 '../config/config.gyp:config_protocol',
233232 '../protocol/protocol.gyp:commands_proto',
233 '../protocol/protocol.gyp:config_proto',
234234 '../protocol/protocol.gyp:renderer_proto',
235235 ],
236236 },
257257 ],
258258 'dependencies': [
259259 '../base/base.gyp:base',
260 '../config/config.gyp:config_protocol',
261260 '../protocol/protocol.gyp:commands_proto',
261 '../protocol/protocol.gyp:config_proto',
262262 '../protocol/protocol.gyp:renderer_proto',
263263 'win32_font_util',
264264 ],
378378 '../base/base.gyp:base',
379379 '../base/base.gyp:crash_report_handler',
380380 '../client/client.gyp:client',
381 '../config/config.gyp:config_protocol',
382381 '../config/config.gyp:stats_config_util',
383382 '../ipc/ipc.gyp:ipc',
384383 '../protocol/protocol.gyp:commands_proto',
384 '../protocol/protocol.gyp:config_proto',
385385 '../protocol/protocol.gyp:renderer_proto',
386386 'gen_mozc_renderer_resource_header#host',
387387 'renderer_server',
439439 '../base/base.gyp:base',
440440 '../base/base.gyp:crash_report_handler',
441441 '../client/client.gyp:client',
442 '../config/config.gyp:config_protocol',
443442 '../config/config.gyp:stats_config_util',
444443 '../ipc/ipc.gyp:ipc',
445444 '../protocol/protocol.gyp:commands_proto',
445 '../protocol/protocol.gyp:config_proto',
446446 '../protocol/protocol.gyp:renderer_proto',
447447 'gen_renderer_files#host',
448448 'renderer_server',
545545 'dependencies': [
546546 '../base/base.gyp:base',
547547 '../client/client.gyp:client',
548 '../config/config.gyp:genproto_config#host',
549548 '../config/config.gyp:stats_config_util',
550549 '../ipc/ipc.gyp:ipc',
550 '../protocol/protocol.gyp:genproto_config_proto#host',
551551 '../protocol/protocol.gyp:renderer_proto',
552552 'gtk2_build_environment',
553553 'renderer_server',
4040 #include "base/port.h"
4141 #include "base/system_util.h"
4242 #include "client/client_interface.h"
43 #include "config/config.pb.h" // for Config
4443 #include "config/config_handler.h"
4544 #include "ipc/ipc.h"
4645 #include "ipc/named_event.h"
4746 #include "ipc/process_watch_dog.h"
47 #include "protocol/config.pb.h"
4848 #include "protocol/renderer_command.pb.h"
4949 #include "renderer/renderer_interface.h"
5050
3333
3434 #include "base/logging.h"
3535 #include "base/util.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/conversion_request.h"
3938 #include "converter/converter_interface.h"
4039 #include "converter/segments.h"
40 #include "protocol/commands.pb.h"
41 #include "protocol/config.pb.h"
4142 #include "rewriter/calculator/calculator_interface.h"
42 #include "protocol/commands.pb.h"
4343
4444 namespace mozc {
4545
3333 #include "base/logging.h"
3434 #include "base/scoped_ptr.h"
3535 #include "base/system_util.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/conversion_request.h"
3938 #include "converter/converter_interface.h"
4241 #include "engine/engine_interface.h"
4342 #include "engine/mock_data_engine_factory.h"
4443 #include "protocol/commands.pb.h"
44 #include "protocol/config.pb.h"
4545 #include "rewriter/calculator/calculator_interface.h"
4646 #include "rewriter/calculator/calculator_mock.h"
4747 #include "testing/base/public/gunit.h"
3333
3434 #include "base/logging.h"
3535 #include "base/system_util.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/conversion_request.h"
3938 #include "data_manager/testing/mock_data_manager.h"
4039 #include "dictionary/pos_matcher.h"
40 #include "protocol/config.pb.h"
4141 #include "testing/base/public/gunit.h"
4242
4343 DECLARE_string(test_tmpdir);
3333 #include <vector>
3434
3535 #include "base/logging.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/conversion_request.h"
3938 #include "converter/segments.h"
39 #include "protocol/config.pb.h"
4040
4141 namespace mozc {
4242 namespace {
3131 #include <string>
3232
3333 #include "base/system_util.h"
34 #include "config/config_handler.h"
3435 #include "converter/conversion_request.h"
3536 #include "converter/segments.h"
37 #include "protocol/config.pb.h"
3638 #include "testing/base/public/gunit.h"
37 #include "config/config_handler.h"
38 #include "config/config.pb.h"
3939
4040 DECLARE_string(test_tmpdir);
4141
3434
3535 #include "base/logging.h"
3636 #include "base/util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "converter/conversion_request.h"
4039 #include "converter/segments.h"
4140 #include "data_manager/data_manager_interface.h"
41 #include "protocol/config.pb.h"
4242
4343 namespace mozc {
4444 namespace {
2929 #include "rewriter/correction_rewriter.h"
3030
3131 #include <string>
32 #include "config/config.pb.h"
3332 #include "config/config_handler.h"
3433 #include "converter/conversion_request.h"
3534 #include "converter/segments.h"
35 #include "protocol/config.pb.h"
3636 #include "testing/base/public/gunit.h"
3737
3838 namespace mozc {
4747 #include "base/util.h"
4848 #include "composer/composer.h"
4949 #include "composer/table.h"
50 #include "config/config.pb.h"
5150 #include "config/config_handler.h"
5251 #include "converter/conversion_request.h"
5352 #include "converter/segments.h"
5453 #include "protocol/commands.pb.h"
54 #include "protocol/config.pb.h"
5555
5656 namespace mozc {
5757
3838 #include "composer/composer.h"
3939 #include "composer/table.h"
4040 #include "config/config_handler.h"
41 #include "config/config.pb.h"
4241 #include "converter/conversion_request.h"
4342 #include "converter/segments.h"
4443 #include "protocol/commands.pb.h"
44 #include "protocol/config.pb.h"
4545 #include "testing/base/public/gunit.h"
4646
4747 DECLARE_string(test_tmpdir);
3737 #include "base/iterator_adapter.h"
3838 #include "base/logging.h"
3939 #include "base/util.h"
40 #include "config/config.pb.h"
4140 #include "config/config_handler.h"
4241 #include "converter/conversion_request.h"
4342 #include "converter/segments.h"
4443 #include "protocol/commands.pb.h"
44 #include "protocol/config.pb.h"
4545 #include "usage_stats/usage_stats.h"
4646
4747 // EmojiRewriter:
3535 #include "base/number_util.h"
3636 #include "base/system_util.h"
3737 #include "base/util.h"
38 #include "config/config.pb.h"
3938 #include "config/config_handler.h"
4039 #include "converter/conversion_request.h"
4140 #include "converter/segments.h"
4241 #include "data_manager/user_pos_manager.h"
4342 #include "dictionary/pos_matcher.h"
4443 #include "protocol/commands.pb.h"
44 #include "protocol/config.pb.h"
4545 #include "rewriter/variants_rewriter.h"
4646 #include "testing/base/public/gunit.h"
4747 #include "usage_stats/usage_stats.h"
3636 #include "base/logging.h"
3737 #include "base/singleton.h"
3838 #include "base/util.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
4140 #include "converter/conversion_request.h"
4241 #include "converter/segments.h"
4342 #include "protocol/commands.pb.h"
43 #include "protocol/config.pb.h"
4444 #include "rewriter/embedded_dictionary.h"
4545 #include "rewriter/rewriter_interface.h"
4646
3434 #include "base/logging.h"
3535 #include "base/system_util.h"
3636 #include "base/util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "converter/conversion_request.h"
4039 #include "converter/segments.h"
4140 #include "protocol/commands.pb.h"
41 #include "protocol/config.pb.h"
4242 #include "testing/base/public/gunit.h"
4343
4444 DECLARE_string(test_tmpdir);
3434 #include "base/number_util.h"
3535 #include "base/scoped_ptr.h"
3636 #include "base/system_util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "converter/segments.h"
4039 #include "data_manager/testing/mock_data_manager.h"
40 #include "protocol/config.pb.h"
4141 #include "testing/base/public/googletest.h"
4242 #include "testing/base/public/gunit.h"
4343 #include "transliteration/transliteration.h"
3333 #include "base/logging.h"
3434 #include "base/util.h"
3535 #include "composer/composer.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/conversion_request.h"
3938 #include "converter/segments.h"
4039 #include "dictionary/dictionary_interface.h"
4140 #include "dictionary/pos_matcher.h"
4241 #include "protocol/commands.pb.h"
42 #include "protocol/config.pb.h"
4343 #include "usage_stats/usage_stats.h"
4444
4545 using mozc::dictionary::DictionaryInterface;
3636 #include "base/util.h"
3737 #include "composer/composer.h"
3838 #include "composer/table.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
4140 #include "converter/conversion_request.h"
4241 #include "converter/segments.h"
4847 #include "dictionary/dictionary_mock.h"
4948 #include "dictionary/pos_matcher.h"
5049 #include "protocol/commands.pb.h"
50 #include "protocol/config.pb.h"
5151 #include "testing/base/public/gunit.h"
5252 #include "usage_stats/usage_stats.h"
5353 #include "usage_stats/usage_stats_testing_util.h"
3232 #include <vector>
3333
3434 #include "base/stl_util.h"
35 #include "config/config.pb.h"
3635 #include "config/config_handler.h"
3736 #include "converter/conversion_request.h"
3837 #include "converter/segments.h"
3938 #include "protocol/commands.pb.h"
39 #include "protocol/config.pb.h"
4040 #include "rewriter/rewriter_interface.h"
4141
4242 namespace mozc {
3131 #include <string>
3232
3333 #include "base/system_util.h"
34 #include "config/config.pb.h"
3534 #include "config/config_handler.h"
3635 #include "converter/conversion_request.h"
3736 #include "converter/segments.h"
37 #include "protocol/config.pb.h"
3838 #include "testing/base/public/gunit.h"
3939
4040 DECLARE_string(test_tmpdir);
3737 #include "base/logging.h"
3838 #include "base/number_util.h"
3939 #include "base/util.h"
40 #include "config/config.pb.h"
4140 #include "config/config_handler.h"
4241 #include "converter/conversion_request.h"
4342 #include "converter/segments.h"
4443 #include "data_manager/data_manager_interface.h"
4544 #include "dictionary/pos_matcher.h"
4645 #include "protocol/commands.pb.h"
46 #include "protocol/config.pb.h"
4747 #include "rewriter/number_compound_util.h"
4848
4949 using mozc::dictionary::POSMatcher;
3535 #include "base/port.h"
3636 #include "base/system_util.h"
3737 #include "base/util.h"
38 #include "config/config.pb.h"
3938 #include "config/config_handler.h"
4039 #include "converter/conversion_request.h"
4140 #include "converter/segments.h"
4645 #include "data_manager/testing/mock_data_manager.h"
4746 #include "dictionary/pos_matcher.h"
4847 #include "protocol/commands.pb.h"
48 #include "protocol/config.pb.h"
4949 #include "testing/base/public/gunit.h"
5050
5151 DECLARE_string(test_tmpdir);
8282 '../composer/composer.gyp:composer',
8383 '../config/config.gyp:character_form_manager',
8484 '../config/config.gyp:config_handler',
85 '../config/config.gyp:config_protocol',
8685 '../converter/converter_base.gyp:conversion_request',
8786 '../converter/converter_base.gyp:immutable_converter',
8887 '../data_manager/data_manager.gyp:user_pos_manager',
8988 '../dictionary/dictionary.gyp:dictionary',
9089 '../dictionary/dictionary_base.gyp:pos_matcher',
9190 '../protocol/protocol.gyp:commands_proto',
91 '../protocol/protocol.gyp:config_proto',
9292 '../storage/storage.gyp:storage',
9393 '../usage_stats/usage_stats_base.gyp:usage_stats',
9494 'calculator/calculator.gyp:calculator',
3232 #include <string>
3333
3434 #include "base/system_util.h"
35 #include "config/config.pb.h"
3635 #include "config/config_handler.h"
3736 #include "converter/conversion_request.h"
3837 #include "converter/converter_mock.h"
3938 #include "converter/segments.h"
4039 #include "data_manager/testing/mock_data_manager.h"
4140 #include "dictionary/pos_group.h"
41 #include "protocol/config.pb.h"
4242 #include "rewriter/rewriter_interface.h"
4343 #include "testing/base/public/gunit.h"
4444
138138 '../base/base.gyp:base',
139139 '../composer/composer.gyp:composer',
140140 '../config/config.gyp:config_handler',
141 '../config/config.gyp:config_protocol',
142141 '../converter/converter_base.gyp:conversion_request',
143142 '../converter/converter_base.gyp:segments',
144143 '../data_manager/data_manager.gyp:user_pos_manager',
146145 '../dictionary/dictionary.gyp:dictionary_mock',
147146 '../dictionary/dictionary_base.gyp:pos_matcher',
148147 '../protocol/protocol.gyp:commands_proto',
148 '../protocol/protocol.gyp:config_proto',
149149 '../testing/testing.gyp:gtest_main',
150150 '../usage_stats/usage_stats_test.gyp:usage_stats_testing_util',
151151 'rewriter.gyp:rewriter',
3636 #include "base/logging.h"
3737 #include "base/singleton.h"
3838 #include "base/util.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
4140 #include "converter/conversion_request.h"
4241 #include "converter/segments.h"
4342 #include "dictionary/pos_matcher.h"
4443 #include "protocol/commands.pb.h"
44 #include "protocol/config.pb.h"
4545 #include "rewriter/embedded_dictionary.h"
4646 #include "rewriter/rewriter_interface.h"
4747
3535 #include "base/system_util.h"
3636 #include "base/util.h"
3737 #include "config/config_handler.h"
38 #include "config/config.pb.h"
3938 #include "converter/conversion_request.h"
4039 #include "converter/segments.h"
4140 #include "data_manager/testing/mock_data_manager.h"
4241 #include "dictionary/pos_matcher.h"
4342 #include "protocol/commands.pb.h"
43 #include "protocol/config.pb.h"
4444 #include "testing/base/public/gunit.h"
4545
4646 DECLARE_string(test_tmpdir);
3636 #include "base/logging.h"
3737 #include "base/singleton.h"
3838 #include "base/util.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
4140 #include "converter/conversion_request.h"
4241 #include "converter/converter_interface.h"
4342 #include "converter/segments.h"
4443 #include "data_manager/data_manager_interface.h"
4544 #include "protocol/commands.pb.h"
45 #include "protocol/config.pb.h"
4646 #include "rewriter/embedded_dictionary.h"
4747 #include "rewriter/rewriter_interface.h"
4848
3434 #include "base/scoped_ptr.h"
3535 #include "base/system_util.h"
3636 #include "base/util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "converter/conversion_request.h"
4039 #include "converter/segments.h"
4241 #include "engine/engine_interface.h"
4342 #include "engine/mock_data_engine_factory.h"
4443 #include "protocol/commands.pb.h"
44 #include "protocol/config.pb.h"
4545 #include "testing/base/public/gunit.h"
4646
4747 DECLARE_string(test_tmpdir);
3838 #include "base/util.h"
3939 #include "composer/composer.h"
4040 #include "composer/table.h"
41 #include "config/config.pb.h"
4241 #include "config/config_handler.h"
4342 #include "converter/conversion_request.h"
4443 #include "converter/segments.h"
4948 #include "data_manager/user_pos_manager.h"
5049 #include "dictionary/pos_matcher.h"
5150 #include "protocol/commands.pb.h"
51 #include "protocol/config.pb.h"
5252 #include "testing/base/public/gunit.h"
5353 #include "transliteration/transliteration.h"
5454 #include "usage_stats/usage_stats.h"
3636 #include "base/system_util.h"
3737 #include "base/util.h"
3838 #include "composer/composer.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
4140 #include "converter/conversion_request.h"
4241 #include "converter/segments.h"
4342 #include "engine/engine_interface.h"
4443 #include "engine/mock_data_engine_factory.h"
4544 #include "protocol/commands.pb.h"
45 #include "protocol/config.pb.h"
4646 #include "testing/base/public/gunit.h"
4747
4848 DECLARE_string(test_tmpdir);
3232
3333 #include "base/logging.h"
3434 #include "base/util.h"
35 #include "config/config.pb.h"
3635 #include "config/config_handler.h"
3736 #include "converter/conversion_request.h"
3837 #include "converter/segments.h"
3938 #include "data_manager/data_manager_interface.h"
39 #include "dictionary/dictionary_interface.h"
4040 #include "dictionary/pos_matcher.h"
41 #include "dictionary/dictionary_interface.h"
41 #include "protocol/config.pb.h"
4242
4343 using mozc::dictionary::DictionaryInterface;
4444 using mozc::dictionary::POSMatcher;
3131 #include <string>
3232
3333 #include "base/system_util.h"
34 #include "config/config.pb.h"
3534 #include "config/config_handler.h"
3635 #include "converter/conversion_request.h"
3736 #include "converter/segments.h"
4140 #include "dictionary/suppression_dictionary.h"
4241 #include "dictionary/user_dictionary.h"
4342 #include "dictionary/user_dictionary_storage.h"
43 #include "protocol/config.pb.h"
4444 #include "testing/base/public/gunit.h"
4545
4646 DECLARE_string(test_tmpdir);
3636 #include "base/file_util.h"
3737 #include "base/logging.h"
3838 #include "base/util.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
4140 #include "converter/conversion_request.h"
4241 #include "converter/converter_interface.h"
4342 #include "converter/segments.h"
43 #include "protocol/config.pb.h"
4444 #include "rewriter/rewriter_interface.h"
4545 #include "rewriter/user_boundary_history_rewriter.h"
4646 #include "storage/lru_storage.h"
3434
3535 #include "base/file_util.h"
3636 #include "base/system_util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "converter/conversion_request.h"
4039 #include "converter/converter_mock.h"
4140 #include "converter/segments.h"
41 #include "protocol/config.pb.h"
4242 #include "testing/base/public/googletest.h"
4343 #include "testing/base/public/gunit.h"
4444
4242 #include "base/string_piece.h"
4343 #include "base/util.h"
4444 #include "config/character_form_manager.h"
45 #include "config/config.pb.h"
4645 #include "config/config_handler.h"
4746 #include "converter/conversion_request.h"
4847 #include "converter/segments.h"
4948 #include "dictionary/pos_group.h"
5049 #include "dictionary/pos_matcher.h"
50 #include "protocol/config.pb.h"
5151 #include "rewriter/rewriter_interface.h"
5252 #include "rewriter/variants_rewriter.h"
5353 #include "storage/lru_storage.h"
3737 #include "base/system_util.h"
3838 #include "base/util.h"
3939 #include "config/character_form_manager.h"
40 #include "config/config.pb.h"
4140 #include "config/config_handler.h"
4241 #include "converter/conversion_request.h"
4342 #include "converter/segments.h"
4443 #include "data_manager/testing/mock_data_manager.h"
4544 #include "dictionary/pos_group.h"
4645 #include "dictionary/pos_matcher.h"
46 #include "protocol/config.pb.h"
4747 #include "rewriter/number_rewriter.h"
4848 #include "rewriter/variants_rewriter.h"
4949 #include "testing/base/public/googletest.h"
3535 #include "base/system_util.h"
3636 #include "base/util.h"
3737 #include "config/character_form_manager.h"
38 #include "config/config.pb.h"
3938 #include "config/config_handler.h"
4039 #include "converter/conversion_request.h"
4140 #include "converter/segments.h"
4241 #include "data_manager/user_pos_manager.h"
4342 #include "dictionary/pos_matcher.h"
43 #include "protocol/config.pb.h"
4444 #include "testing/base/public/gunit.h"
4545
4646 DECLARE_string(test_tmpdir);
3333
3434 #include "base/system_util.h"
3535 #include "base/util.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/conversion_request.h"
3938 #include "converter/segments.h"
4039 #include "protocol/commands.pb.h"
40 #include "protocol/config.pb.h"
4141 #include "testing/base/public/gunit.h"
4242
4343 DECLARE_string(test_tmpdir);
3131 #include <string>
3232
3333 #include "base/logging.h"
34 #include "config/config.pb.h"
3534 #include "config/config_handler.h"
3635 #include "converter/conversion_request.h"
3736 #include "converter/segments.h"
3837 #include "dictionary/pos_matcher.h"
38 #include "protocol/config.pb.h"
3939
4040 using mozc::dictionary::POSMatcher;
4141
3232
3333 #include "base/logging.h"
3434 #include "base/system_util.h"
35 #include "config/config.pb.h"
3635 #include "config/config_handler.h"
3736 #include "converter/conversion_request.h"
3837 #include "converter/segments.h"
4241 #endif // MOZC_USE_PACKED_DICTIONARY
4342 #include "data_manager/user_pos_manager.h"
4443 #include "dictionary/pos_matcher.h"
44 #include "protocol/config.pb.h"
4545 #include "testing/base/public/gunit.h"
4646
4747 DECLARE_string(test_tmpdir);
3535
3636 #include "base/port.h"
3737 #include "base/singleton.h"
38 #include "config/config.pb.h"
3938 #include "config/config_handler.h"
39 #include "protocol/config.pb.h"
4040 #include "session/key_info_util.h"
4141
4242 namespace mozc {
3232
3333 #include "base/system_util.h"
3434 #include "composer/key_parser.h"
35 #include "config/config.pb.h"
3635 #include "config/config_handler.h"
3736 #include "protocol/commands.pb.h"
37 #include "protocol/config.pb.h"
3838 #include "session/internal/keymap.h"
3939 #include "testing/base/public/googletest.h"
4040 #include "testing/base/public/gunit.h"
3535 #include "base/singleton.h"
3636 #include "base/util.h"
3737 #include "composer/key_event_util.h"
38 #include "config/config.pb.h"
3938 #include "config/config_handler.h"
4039 #include "protocol/commands.pb.h"
40 #include "protocol/config.pb.h"
4141
4242 namespace mozc {
4343 namespace session {
3737
3838 #include "base/port.h"
3939 #include "base/singleton.h"
40 #include "config/config.pb.h"
4140 #include "protocol/commands.pb.h"
41 #include "protocol/config.pb.h"
4242
4343 namespace mozc {
4444 namespace session {
3030
3131 #include "base/port.h"
3232 #include "base/singleton.h"
33 #include "config/config.pb.h"
3433 #include "protocol/commands.pb.h"
34 #include "protocol/config.pb.h"
3535
3636 #include "testing/base/public/gunit.h"
3737
4343 #include "base/util.h"
4444 #include "composer/key_event_util.h"
4545 #include "composer/key_parser.h"
46 #include "config/config.pb.h"
4746 #include "config/config_handler.h"
4847 #include "protocol/commands.pb.h"
48 #include "protocol/config.pb.h"
4949 #include "session/internal/keymap-inl.h"
5050
5151 namespace mozc {
3636 #include <set>
3737 #include <string>
3838 #include "composer/key_event_util.h"
39 #include "config/config.pb.h"
39 #include "protocol/config.pb.h"
4040 #include "session/internal/keymap_interface.h"
4141
4242 namespace mozc {
3232
3333 #include "base/port.h"
3434 #include "base/freelist.h"
35 #include "config/config.pb.h"
35 #include "protocol/config.pb.h"
3636 #include "session/internal/keymap.h"
3737
3838 namespace mozc {
3232 #include <map>
3333
3434 #include "base/freelist.h"
35 #include "config/config.pb.h"
35 #include "protocol/config.pb.h"
3636
3737 namespace mozc {
3838 namespace keymap {
3131 #include <map>
3232
3333 #include "composer/key_parser.h"
34 #include "config/config.pb.h"
3534 #include "config/config_handler.h"
3635 #include "protocol/commands.pb.h"
36 #include "protocol/config.pb.h"
3737 #include "session/internal/keymap.h"
3838 #include "testing/base/public/googletest.h"
3939 #include "testing/base/public/gunit.h"
3434 #include "base/scoped_ptr.h"
3535 #include "base/system_util.h"
3636 #include "composer/key_parser.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "protocol/commands.pb.h"
39 #include "protocol/config.pb.h"
40 #include "session/internal/keymap-inl.h"
4041 #include "session/internal/keymap.h"
41 #include "session/internal/keymap-inl.h"
4242 #include "session/internal/keymap_factory.h"
4343 #include "testing/base/public/gunit.h"
4444
3838 #include "base/scoped_ptr.h"
3939 #include "base/util.h"
4040 #include "composer/key_parser.h"
41 #include "config/config.pb.h"
4241 #include "config/config_handler.h"
4342 #include "protocol/commands.pb.h"
43 #include "protocol/config.pb.h"
4444 #include "session/internal/keymap.h"
4545
4646 namespace mozc {
2929 #include "session/key_info_util.h"
3030
3131 #include "composer/key_parser.h"
32 #include "config/config.pb.h"
3332 #include "config/config_handler.h"
3433 #include "protocol/commands.pb.h"
34 #include "protocol/config.pb.h"
3535 #include "testing/base/public/googletest.h"
3636 #include "testing/base/public/gunit.h"
3737
4343 #include "composer/composer.h"
4444 #include "composer/key_event_util.h"
4545 #include "composer/table.h"
46 #include "config/config.pb.h"
4746 #include "config/config_handler.h"
4847 #include "engine/engine_interface.h"
4948 #include "engine/user_data_manager_interface.h"
5049 #include "protocol/commands.pb.h"
50 #include "protocol/config.pb.h"
5151 #include "session/internal/ime_context.h"
5252 #include "session/internal/key_event_transformer.h"
5353 #include "session/internal/keymap-inl.h"
4343 '../base/base.gyp:base',
4444 '../composer/composer.gyp:key_parser',
4545 '../config/config.gyp:config_handler',
46 '../config/config.gyp:config_protocol',
4746 '../converter/converter_base.gyp:converter_util',
4847 '../protocol/protocol.gyp:commands_proto',
48 '../protocol/protocol.gyp:config_proto',
4949 '../transliteration/transliteration.gyp:transliteration',
5050 '../usage_stats/usage_stats_base.gyp:usage_stats',
5151 'session_base.gyp:keymap',
6868 '../base/base.gyp:base',
6969 '../composer/composer.gyp:composer',
7070 '../config/config.gyp:config_handler',
71 '../config/config.gyp:config_protocol',
7271 '../protocol/protocol.gyp:commands_proto',
72 '../protocol/protocol.gyp:config_proto',
7373 ],
7474 },
7575 {
8484 '../client/client.gyp:client',
8585 '../composer/composer.gyp:composer',
8686 '../config/config.gyp:config_handler',
87 '../config/config.gyp:config_protocol',
8887 '../dictionary/dictionary_base.gyp:user_dictionary',
8988 '../engine/engine.gyp:engine_factory',
9089 '../protocol/protocol.gyp:commands_proto',
90 '../protocol/protocol.gyp:config_proto',
9191 '../protocol/protocol.gyp:user_dictionary_storage_proto',
9292 '../usage_stats/usage_stats_base.gyp:usage_stats',
9393 'session_base.gyp:generic_storage_manager',
143143 'random_keyevents_generator.cc',
144144 ],
145145 'dependencies': [
146 '../config/config.gyp:config_protocol',
147146 '../protocol/protocol.gyp:commands_proto',
147 '../protocol/protocol.gyp:config_proto',
148148 'gen_session_stress_test_data#host',
149149 'session',
150150 ],
4242 'request_test_util.cc',
4343 ],
4444 'dependencies': [
45 '../config/config.gyp:config_protocol',
4645 '../protocol/protocol.gyp:commands_proto',
46 '../protocol/protocol.gyp:config_proto',
4747 ],
4848 },
4949 {
5757 '../composer/composer.gyp:key_event_util',
5858 '../composer/composer.gyp:key_parser',
5959 '../config/config.gyp:config_handler',
60 '../config/config.gyp:config_protocol',
6160 '../protocol/protocol.gyp:commands_proto',
61 '../protocol/protocol.gyp:config_proto',
6262 ],
6363 },
6464 {
6969 ],
7070 'dependencies': [
7171 '../base/base.gyp:base',
72 '../config/config.gyp:config_protocol',
7372 '../protocol/protocol.gyp:commands_proto',
73 '../protocol/protocol.gyp:config_proto',
7474 'keymap',
7575 ],
7676 },
8383 'dependencies': [
8484 '../base/base.gyp:base',
8585 '../config/config.gyp:config_handler',
86 '../config/config.gyp:config_protocol',
8786 '../protocol/protocol.gyp:commands_proto',
87 '../protocol/protocol.gyp:config_proto',
8888 'key_info_util',
8989 ],
9090 },
100100 '../composer/composer.gyp:key_event_util',
101101 '../composer/composer.gyp:key_parser',
102102 '../config/config.gyp:config_handler',
103 '../config/config.gyp:config_protocol',
103 '../protocol/protocol.gyp:config_proto',
104104 'keymap',
105105 ],
106106 },
3939 #include "base/text_normalizer.h"
4040 #include "base/util.h"
4141 #include "composer/composer.h"
42 #include "config/config.pb.h"
4342 #include "config/config_handler.h"
4443 #include "converter/converter_interface.h"
4544 #include "converter/converter_util.h"
4645 #include "converter/segments.h"
4746 #include "protocol/commands.pb.h"
47 #include "protocol/config.pb.h"
4848 #include "session/internal/candidate_list.h"
4949 #include "session/internal/session_output.h"
5050 #include "session/session_usage_stats_util.h"
3535 #include "base/util.h"
3636 #include "composer/composer.h"
3737 #include "composer/table.h"
38 #include "config/config.pb.h"
3938 #include "config/config_handler.h"
4039 #include "engine/engine_interface.h"
4140 #include "engine/mock_data_engine_factory.h"
4241 #include "protocol/commands.pb.h"
42 #include "protocol/config.pb.h"
4343 #include "testing/base/public/googletest.h"
4444 #include "testing/base/public/gunit.h"
4545
4444 #include "base/util.h"
4545 #include "composer/composer.h"
4646 #include "composer/table.h"
47 #include "config/config.pb.h"
4847 #include "config/config_handler.h"
4948 #include "converter/converter_mock.h"
5049 #include "converter/segments.h"
5150 #include "protocol/candidates.pb.h"
5251 #include "protocol/commands.pb.h"
52 #include "protocol/config.pb.h"
5353 #include "session/internal/candidate_list.h"
5454 #include "session/internal/keymap.h"
5555 #include "session/request_test_util.h"
4343 #include "base/stopwatch.h"
4444 #include "base/util.h"
4545 #include "composer/table.h"
46 #include "config/config.pb.h"
4746 #include "config/config_handler.h"
4847 #include "dictionary/user_dictionary_session_handler.h"
4948 #include "engine/engine_interface.h"
5049 #include "engine/user_data_manager_interface.h"
5150 #include "protocol/commands.pb.h"
51 #include "protocol/config.pb.h"
5252 #include "protocol/user_dictionary_storage.pb.h"
5353 #include "session/generic_storage_manager.h"
5454 #include "session/session.h"
3636 #include "base/string_piece.h"
3737 #include "base/util.h"
3838 #include "composer/key_parser.h"
39 #include "config/config.pb.h"
4039 #include "config/config_handler.h"
4140 #include "converter/converter_interface.h"
4241 #include "engine/mock_data_engine_factory.h"
4342 #include "engine/user_data_manager_interface.h"
4443 #include "protocol/commands.pb.h"
44 #include "protocol/config.pb.h"
4545 #include "session/request_test_util.h"
4646 #include "session/session_handler_test_util.h"
4747 #include "testing/base/public/gunit.h"
3333 #include "base/clock_mock.h"
3434 #include "base/port.h"
3535 #include "base/util.h"
36 #include "config/config.pb.h"
3736 #include "config/config_handler.h"
3837 #include "converter/converter_mock.h"
3938 #include "engine/mock_converter_engine.h"
4039 #include "engine/mock_data_engine_factory.h"
4140 #include "engine/user_data_manager_mock.h"
4241 #include "protocol/commands.pb.h"
42 #include "protocol/config.pb.h"
4343 #include "session/generic_storage_manager.h"
4444 #include "session/session_handler.h"
4545 #include "session/session_handler_test_util.h"
3131 #include "base/config_file_stream.h"
3232 #include "base/file_util.h"
3333 #include "base/system_util.h"
34 #include "config/config.pb.h"
3534 #include "config/config_handler.h"
3635 #include "converter/converter_interface.h"
3736 #include "engine/engine_interface.h"
3837 #include "prediction/user_history_predictor.h"
3938 #include "protocol/commands.pb.h"
39 #include "protocol/config.pb.h"
4040 #include "session/session_handler.h"
4141 #include "session/session_handler_interface.h"
4242 #include "session/session_usage_observer.h"
3434 #include <string>
3535 #include "base/port.h"
3636 #include "base/scoped_ptr.h"
37 #include "config/config.pb.h"
3837 #include "protocol/commands.pb.h"
38 #include "protocol/config.pb.h"
3939 #include "testing/base/public/gunit.h"
4040 #include "usage_stats/usage_stats_testing_util.h"
4141
3737 #include "base/system_util.h"
3838 #include "composer/key_parser.h"
3939 #include "composer/table.h"
40 #include "config/config.pb.h"
4140 #include "config/config_handler.h"
4241 #include "converter/segments.h"
4342 #include "engine/engine_factory.h"
4443 #include "protocol/candidates.pb.h"
4544 #include "protocol/commands.pb.h"
45 #include "protocol/config.pb.h"
4646 #include "rewriter/rewriter_interface.h"
4747 #include "session/internal/ime_context.h"
4848 #include "session/internal/keymap.h"
3737 #include "composer/composer.h"
3838 #include "composer/key_parser.h"
3939 #include "composer/table.h"
40 #include "config/config.pb.h"
4140 #include "config/config_handler.h"
4241 #include "converter/conversion_request.h"
4342 #include "converter/converter_mock.h"
4847 #include "engine/mock_data_engine_factory.h"
4948 #include "protocol/candidates.pb.h"
5049 #include "protocol/commands.pb.h"
50 #include "protocol/config.pb.h"
5151 #include "rewriter/transliteration_rewriter.h"
5252 #include "session/internal/ime_context.h"
5353 #include "session/internal/keymap.h"
4141 'dependencies': [
4242 '../base/base.gyp:base',
4343 '../config/config.gyp:config_handler',
44 '../config/config.gyp:config_protocol',
4544 '../engine/engine.gyp:engine_factory',
4645 '../engine/engine.gyp:mock_data_engine_factory',
4746 '../protocol/protocol.gyp:commands_proto',
47 '../protocol/protocol.gyp:config_proto',
4848 '../testing/testing.gyp:testing',
4949 '../usage_stats/usage_stats_test.gyp:usage_stats_testing_util',
5050 'session.gyp:session',
213213 ],
214214 'dependencies': [
215215 '../base/base.gyp:base',
216 '../config/config.gyp:config_protocol',
217216 '../converter/converter_base.gyp:converter_mock',
218217 '../engine/engine.gyp:mock_converter_engine',
218 '../protocol/protocol.gyp:commands_proto',
219 '../protocol/protocol.gyp:config_proto',
219220 '../testing/testing.gyp:gtest_main',
220221 '../testing/testing.gyp:testing_util',
221222 'session.gyp:session',
222 '../protocol/protocol.gyp:commands_proto',
223223 ],
224224 'variables': {
225225 'test_size': 'small',
4040 'dependencies': [
4141 '../../base/base.gyp:base',
4242 '../../config/config.gyp:config_handler',
43 '../../config/config.gyp:config_protocol',
4443 '../../ipc/ipc.gyp:ipc',
4544 '../../protocol/protocol.gyp:commands_proto',
45 '../../protocol/protocol.gyp:config_proto',
4646 'mozc_emacs_helper_lib',
4747 ],
4848 },
5757 '../../base/base.gyp:base',
5858 '../../client/client.gyp:client',
5959 '../../composer/composer.gyp:key_parser',
60 '../../config/config.gyp:config_protocol',
6160 '../../protocol/protocol.gyp:commands_proto',
61 '../../protocol/protocol.gyp:config_proto',
6262 '../../storage/storage.gyp:storage',
6363 ],
6464 },
3333 #include <set>
3434
3535 #include "base/port.h"
36 #include "config/config.pb.h"
3736 #include "protocol/commands.pb.h"
37 #include "protocol/config.pb.h"
3838 #include "unix/ibus/key_translator.h"
3939
4040 namespace mozc {
3434 #include "base/port.h"
3535 #include "base/util.h"
3636 #include "composer/key_event_util.h"
37 #include "config/config.pb.h"
3837 #include "protocol/commands.pb.h"
38 #include "protocol/config.pb.h"
3939 #include "testing/base/public/gunit.h"
4040
4141 using std::unique_ptr;
4545 #include "base/system_util.h"
4646 #include "base/util.h"
4747 #include "client/client.h"
48 #include "config/config.pb.h"
4948 #include "protocol/commands.pb.h"
49 #include "protocol/config.pb.h"
5050 #include "session/ime_switch_util.h"
5151 #include "unix/ibus/engine_registrar.h"
5252 #include "unix/ibus/ibus_candidate_window_handler.h"
4545 '../base/base.gyp:config_file_stream',
4646 '../base/base.gyp:encryptor',
4747 '../config/config.gyp:config_handler',
48 '../config/config.gyp:config_protocol',
4948 '../config/config.gyp:stats_config_util',
5049 '../net/net.gyp:http_client',
50 '../protocol/protocol.gyp:config_proto',
5151 '../session/session_base.gyp:keymap',
5252 '../storage/storage.gyp:storage',
5353 'usage_stats_base.gyp:gen_usage_stats_list#host',
7272 ],
7373 'dependencies': [
7474 '../config/config.gyp:config_handler',
75 '../config/config.gyp:config_protocol',
7675 '../net/net.gyp:http_client_mock',
76 '../protocol/protocol.gyp:config_proto',
7777 '../testing/testing.gyp:gtest_main',
7878 'usage_stats.gyp:usage_stats_uploader',
7979 'usage_stats_base.gyp:usage_stats_protocol',
4545 #include "base/system_util.h"
4646 #include "base/util.h"
4747 #include "base/win_util.h"
48 #include "config/config.pb.h"
4948 #include "config/config_handler.h"
49 #include "protocol/config.pb.h"
5050 #include "session/internal/keymap.h"
5151 #include "usage_stats/usage_stats.h"
5252
3434 #include "base/scoped_ptr.h"
3535 #include "base/system_util.h"
3636 #include "base/util.h"
37 #include "config/config.pb.h"
3837 #include "config/config_handler.h"
3938 #include "protocol/commands.pb.h"
39 #include "protocol/config.pb.h"
4040 #include "testing/base/public/gunit.h"
4141 #include "usage_stats/usage_stats.h"
4242 #include "usage_stats/usage_stats_testing_util.h"
4444 #include "base/util.h"
4545 #include "base/version.h"
4646 #include "base/win_util.h"
47 #include "config/config.pb.h"
4847 #include "config/config_handler.h"
4948 #include "net/http_client.h"
49 #include "protocol/config.pb.h"
5050 #include "storage/registry.h"
5151 #include "storage/storage_interface.h"
5252 #include "testing/base/public/gunit.h"
3030
3131 #include "base/win_util.h"
3232 #include "client/client_interface.h"
33 #include "config/config.pb.h"
3433 #include "config/config_handler.h"
34 #include "protocol/config.pb.h"
3535
3636 namespace mozc {
3737 namespace win32 {
120120 'dependencies': [
121121 '../../base/base.gyp:base',
122122 '../../config/config.gyp:config_handler',
123 '../../config/config.gyp:config_protocol',
124123 '../../protocol/protocol.gyp:commands_proto',
124 '../../protocol/protocol.gyp:config_proto',
125125 '../../session/session_base.gyp:key_info_util',
126126 '../../session/session_base.gyp:output_util',
127127 ],
3838 #include "base/system_util.h"
3939 #include "base/win_util.h"
4040 #include "client/client.h"
41 #include "config/config.pb.h"
4241 #include "config/config_handler.h"
42 #include "protocol/config.pb.h"
4343 #include "win32/base/imm_registrar.h"
4444 #include "win32/base/imm_util.h"
4545 #include "win32/base/migration_util.h"
4545 'dependencies': [
4646 '../../base/base.gyp:crash_report_handler',
4747 '../../client/client.gyp:client',
48 '../../config/config.gyp:config_protocol',
4948 '../../config/config.gyp:stats_config_util',
49 '../../protocol/protocol.gyp:config_proto',
5050 '../../renderer/renderer.gyp:renderer_client',
5151 '../base/win32_base.gyp:ime_base',
5252 '../base/win32_base.gyp:win32_file_verifier',
116116 '../../base/base.gyp:base',
117117 '../../client/client.gyp:client',
118118 '../../config/config.gyp:config_handler',
119 '../../config/config.gyp:config_protocol',
120119 '../../ipc/ipc.gyp:ipc',
121120 '../../protocol/protocol.gyp:commands_proto',
121 '../../protocol/protocol.gyp:config_proto',
122122 '../../protocol/protocol.gyp:renderer_proto',
123123 '../../renderer/renderer.gyp:win32_font_util',
124124 '../../renderer/renderer.gyp:win32_renderer_client',