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

Unified Diff: chrome/browser/importer/importer_messages.h

Issue 6291003: Revert 71485 - Remove wstring from TemplateURL and friends.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/importer/firefox_importer_utils.cc ('k') | chrome/browser/importer/importer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer_messages.h
===================================================================
--- chrome/browser/importer/importer_messages.h (revision 71499)
+++ chrome/browser/importer/importer_messages.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -222,7 +222,7 @@
WriteParam(m, p.url);
}
static bool Read(const Message* m, void** iter, param_type* p) {
- std::string type;
+ std::wstring type;
int width;
int height;
GURL url;
@@ -275,17 +275,17 @@
WriteParam(m, p.prepopulate_id());
}
static bool Read(const Message* m, void** iter, param_type* p) {
- string16 short_name;
- string16 description;
+ std::wstring short_name;
+ std::wstring description;
bool includes_suggestions_url;
TemplateURLRef suggestions_url;
TemplateURLRef url;
GURL originating_url;
- string16 keyword;
+ std::wstring keyword;
bool autogenerate_keyword;
bool show_in_default_list;
bool safe_for_autoreplace;
- std::vector<string16> languages;
+ std::vector<std::wstring> languages;
std::vector<std::string> input_encodings;
base::Time date_created;
int usage_count;
@@ -314,7 +314,7 @@
*p = TemplateURL();
for (size_t i = 0; i < image_refs_size; ++i) {
- std::string type;
+ std::wstring type;
int width;
int height;
GURL url;
@@ -344,7 +344,7 @@
p->set_show_in_default_list(show_in_default_list);
p->set_safe_for_autoreplace(safe_for_autoreplace);
- std::vector<string16>::const_iterator lang_iter;
+ std::vector<std::wstring>::const_iterator lang_iter;
for (lang_iter = languages.begin();
lang_iter != languages.end();
++lang_iter) {
« no previous file with comments | « chrome/browser/importer/firefox_importer_utils.cc ('k') | chrome/browser/importer/importer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698