OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/variations/variations_seed_store.h" | 5 #include "components/variations/variations_seed_store.h" |
6 | 6 |
7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/macros.h" |
8 #include "base/prefs/testing_pref_service.h" | 9 #include "base/prefs/testing_pref_service.h" |
| 10 #include "build/build_config.h" |
9 #include "components/compression/compression_utils.h" | 11 #include "components/compression/compression_utils.h" |
10 #include "components/variations/pref_names.h" | 12 #include "components/variations/pref_names.h" |
11 #include "components/variations/proto/study.pb.h" | 13 #include "components/variations/proto/study.pb.h" |
12 #include "components/variations/proto/variations_seed.pb.h" | 14 #include "components/variations/proto/variations_seed.pb.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
14 | 16 |
15 #if defined(OS_ANDROID) | 17 #if defined(OS_ANDROID) |
16 #include "components/variations/android/variations_seed_bridge.h" | 18 #include "components/variations/android/variations_seed_bridge.h" |
17 #endif // OS_ANDROID | 19 #endif // OS_ANDROID |
18 | 20 |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 &response_date, &is_gzip_compressed); | 413 &response_date, &is_gzip_compressed); |
412 EXPECT_EQ("", seed_data); | 414 EXPECT_EQ("", seed_data); |
413 EXPECT_EQ("", seed_signature); | 415 EXPECT_EQ("", seed_signature); |
414 EXPECT_EQ("", seed_country); | 416 EXPECT_EQ("", seed_country); |
415 EXPECT_EQ("", response_date); | 417 EXPECT_EQ("", response_date); |
416 EXPECT_FALSE(is_gzip_compressed); | 418 EXPECT_FALSE(is_gzip_compressed); |
417 } | 419 } |
418 #endif // OS_ANDROID | 420 #endif // OS_ANDROID |
419 | 421 |
420 } // namespace variations | 422 } // namespace variations |
OLD | NEW |