| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Multiply-included message file, no traditonal include guard. | 5 // Multiply-included message file, no traditonal include guard. |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 std::vector<string16>::const_iterator lang_iter; | 353 std::vector<string16>::const_iterator lang_iter; |
| 354 for (lang_iter = languages.begin(); | 354 for (lang_iter = languages.begin(); |
| 355 lang_iter != languages.end(); | 355 lang_iter != languages.end(); |
| 356 ++lang_iter) { | 356 ++lang_iter) { |
| 357 p->add_language(*lang_iter); | 357 p->add_language(*lang_iter); |
| 358 } | 358 } |
| 359 p->set_input_encodings(input_encodings); | 359 p->set_input_encodings(input_encodings); |
| 360 p->set_date_created(date_created); | 360 p->set_date_created(date_created); |
| 361 p->set_last_modified(last_modified); | 361 p->set_last_modified(last_modified); |
| 362 p->set_usage_count(usage_count); | 362 p->set_usage_count(usage_count); |
| 363 p->set_prepopulate_id(prepopulate_id); | 363 p->SetPrepopulateId(prepopulate_id); |
| 364 return true; | 364 return true; |
| 365 } | 365 } |
| 366 static void Log(const param_type& p, std::string* l) { | 366 static void Log(const param_type& p, std::string* l) { |
| 367 l->append("<TemplateURL>"); | 367 l->append("<TemplateURL>"); |
| 368 } | 368 } |
| 369 }; | 369 }; |
| 370 | 370 |
| 371 } // namespace IPC | 371 } // namespace IPC |
| 372 | 372 |
| 373 #endif // CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_MESSAGES_H_ | 373 #endif // CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_MESSAGES_H_ |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportGroup, | 430 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyFaviconsImportGroup, |
| 431 std::vector<history::ImportedFaviconUsage>) | 431 std::vector<history::ImportedFaviconUsage>) |
| 432 | 432 |
| 433 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyPasswordFormReady, | 433 IPC_MESSAGE_CONTROL1(ProfileImportProcessHostMsg_NotifyPasswordFormReady, |
| 434 webkit_glue::PasswordForm) | 434 webkit_glue::PasswordForm) |
| 435 | 435 |
| 436 IPC_MESSAGE_CONTROL3(ProfileImportProcessHostMsg_NotifyKeywordsReady, | 436 IPC_MESSAGE_CONTROL3(ProfileImportProcessHostMsg_NotifyKeywordsReady, |
| 437 std::vector<TemplateURL>, | 437 std::vector<TemplateURL>, |
| 438 int, /* default keyword index */ | 438 int, /* default keyword index */ |
| 439 bool /* unique on host and path */) | 439 bool /* unique on host and path */) |
| OLD | NEW |