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

Side by Side Diff: components/variations/variations_seed_store_unittest.cc

Issue 1389383003: WIP: Introduce CompressibleString Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase onto crrev.com/1564773002 Created 4 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 unified diff | Download patch
OLDNEW
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/macros.h"
9 #include "base/prefs/testing_pref_service.h" 9 #include "base/prefs/testing_pref_service.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "components/compression/compression_utils.h"
12 #include "components/variations/pref_names.h" 11 #include "components/variations/pref_names.h"
13 #include "components/variations/proto/study.pb.h" 12 #include "components/variations/proto/study.pb.h"
14 #include "components/variations/proto/variations_seed.pb.h" 13 #include "components/variations/proto/variations_seed.pb.h"
15 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "third_party/zlib/google/compression_utils.h"
16 16
17 #if defined(OS_ANDROID) 17 #if defined(OS_ANDROID)
18 #include "components/variations/android/variations_seed_bridge.h" 18 #include "components/variations/android/variations_seed_bridge.h"
19 #endif // OS_ANDROID 19 #endif // OS_ANDROID
20 20
21 namespace variations { 21 namespace variations {
22 22
23 namespace { 23 namespace {
24 24
25 class TestVariationsSeedStore : public VariationsSeedStore { 25 class TestVariationsSeedStore : public VariationsSeedStore {
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 &response_date, &is_gzip_compressed); 413 &response_date, &is_gzip_compressed);
414 EXPECT_EQ("", seed_data); 414 EXPECT_EQ("", seed_data);
415 EXPECT_EQ("", seed_signature); 415 EXPECT_EQ("", seed_signature);
416 EXPECT_EQ("", seed_country); 416 EXPECT_EQ("", seed_country);
417 EXPECT_EQ("", response_date); 417 EXPECT_EQ("", response_date);
418 EXPECT_FALSE(is_gzip_compressed); 418 EXPECT_FALSE(is_gzip_compressed);
419 } 419 }
420 #endif // OS_ANDROID 420 #endif // OS_ANDROID
421 421
422 } // namespace variations 422 } // namespace variations
OLDNEW
« no previous file with comments | « components/variations/variations_seed_store.cc ('k') | third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698