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

Side by Side Diff: chrome/browser/autocomplete_history_manager_unittest.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <vector> 5 #include <vector>
6 6
7 #include "base/ref_counted.h" 7 #include "base/ref_counted.h"
8 #include "base/string16.h" 8 #include "base/string16.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/autocomplete_history_manager.h" 11 #include "chrome/browser/autocomplete_history_manager.h"
11 #include "chrome/browser/webdata/web_data_service.h" 12 #include "chrome/browser/webdata/web_data_service.h"
12 #include "chrome/test/testing_profile.h" 13 #include "chrome/test/testing_profile.h"
13 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 #include "webkit/glue/form_data.h" 16 #include "webkit/glue/form_data.h"
16 17
17 using testing::_; 18 using testing::_;
18 using webkit_glue::FormData; 19 using webkit_glue::FormData;
19 20
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 webkit_glue::FormField ssn(ASCIIToUTF16("Social Security Number"), 97 webkit_glue::FormField ssn(ASCIIToUTF16("Social Security Number"),
97 ASCIIToUTF16("ssn"), 98 ASCIIToUTF16("ssn"),
98 ASCIIToUTF16("078-05-1120"), 99 ASCIIToUTF16("078-05-1120"),
99 ASCIIToUTF16("text"), 100 ASCIIToUTF16("text"),
100 20); 101 20);
101 form.fields.push_back(ssn); 102 form.fields.push_back(ssn);
102 103
103 EXPECT_CALL(*web_data_service_, AddFormFields(_)).Times(0); 104 EXPECT_CALL(*web_data_service_, AddFormFields(_)).Times(0);
104 autocomplete_manager_->FormSubmitted(form); 105 autocomplete_manager_->FormSubmitted(form);
105 } 106 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete_history_manager.cc ('k') | chrome/browser/autofill/address_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698