| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <math.h> | 5 #include <math.h> |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/path_service.h" | 9 #include "base/path_service.h" |
| 10 #include "base/pickle.h" | 10 #include "base/pickle.h" |
| 11 #include "base/stringprintf.h" | |
| 12 #include "base/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 12 #include "base/strings/stringprintf.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "content/common/page_state_serialization.h" | 14 #include "content/common/page_state_serialization.h" |
| 15 #include "content/public/common/content_paths.h" | 15 #include "content/public/common/content_paths.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 17 |
| 18 namespace content { | 18 namespace content { |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 #if defined(OS_WIN) | 21 #if defined(OS_WIN) |
| 22 inline bool isnan(double num) { return !!_isnan(num); } | 22 inline bool isnan(double num) { return !!_isnan(num); } |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 TEST_F(PageStateSerializationTest, BackwardsCompat_v13) { | 411 TEST_F(PageStateSerializationTest, BackwardsCompat_v13) { |
| 412 TestBackwardsCompat(13); | 412 TestBackwardsCompat(13); |
| 413 } | 413 } |
| 414 | 414 |
| 415 TEST_F(PageStateSerializationTest, BackwardsCompat_v14) { | 415 TEST_F(PageStateSerializationTest, BackwardsCompat_v14) { |
| 416 TestBackwardsCompat(14); | 416 TestBackwardsCompat(14); |
| 417 } | 417 } |
| 418 | 418 |
| 419 } // namespace | 419 } // namespace |
| 420 } // namespace content | 420 } // namespace content |
| OLD | NEW |