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

Side by Side Diff: chrome/browser/password_manager/login_database_unittest.cc

Issue 18128002: Use a direct include of time headers in chrome/browser/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "testing/gtest/include/gtest/gtest.h" 5 #include "testing/gtest/include/gtest/gtest.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/time.h" 12 #include "base/time/time.h"
13 #include "chrome/browser/password_manager/login_database.h" 13 #include "chrome/browser/password_manager/login_database.h"
14 #include "chrome/common/chrome_paths.h" 14 #include "chrome/common/chrome_paths.h"
15 #include "content/public/common/password_form.h" 15 #include "content/public/common/password_form.h"
16 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
17 17
18 using content::PasswordForm; 18 using content::PasswordForm;
19 19
20 using ::testing::Eq; 20 using ::testing::Eq;
21 21
22 class LoginDatabaseTest : public testing::Test { 22 class LoginDatabaseTest : public testing::Test {
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 560
561 // Normal data. 561 // Normal data.
562 vec.push_back(ASCIIToUTF16("first")); 562 vec.push_back(ASCIIToUTF16("first"));
563 vec.push_back(ASCIIToUTF16("second")); 563 vec.push_back(ASCIIToUTF16("second"));
564 vec.push_back(ASCIIToUTF16("third")); 564 vec.push_back(ASCIIToUTF16("third"));
565 565
566 temp = SerializeVector(vec); 566 temp = SerializeVector(vec);
567 output = DeserializeVector(temp); 567 output = DeserializeVector(temp);
568 EXPECT_THAT(output, Eq(vec)); 568 EXPECT_THAT(output, Eq(vec));
569 } 569 }
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/login_database.cc ('k') | chrome/browser/password_manager/native_backend_gnome_x.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698