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

Side by Side Diff: components/offline_pages/core/background/network_quality_provider_stub.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/offline_pages/background/network_quality_provider_stub.h" 5 #include "components/offline_pages/core/background/network_quality_provider_stub .h"
6 6
7 namespace offline_pages { 7 namespace offline_pages {
8 8
9 const char kOfflineNQPKey[] = "OfflineNQP"; 9 const char kOfflineNQPKey[] = "OfflineNQP";
10 10
11 NetworkQualityProviderStub::NetworkQualityProviderStub() 11 NetworkQualityProviderStub::NetworkQualityProviderStub()
12 : connection_type_( 12 : connection_type_(
13 net::EffectiveConnectionType::EFFECTIVE_CONNECTION_TYPE_3G) {} 13 net::EffectiveConnectionType::EFFECTIVE_CONNECTION_TYPE_3G) {}
14 14
15 NetworkQualityProviderStub::~NetworkQualityProviderStub() {} 15 NetworkQualityProviderStub::~NetworkQualityProviderStub() {}
(...skipping 18 matching lines...) Expand all
34 net::NetworkQualityEstimator::EffectiveConnectionTypeObserver* observer) {} 34 net::NetworkQualityEstimator::EffectiveConnectionTypeObserver* observer) {}
35 35
36 void NetworkQualityProviderStub::RemoveEffectiveConnectionTypeObserver( 36 void NetworkQualityProviderStub::RemoveEffectiveConnectionTypeObserver(
37 net::NetworkQualityEstimator::EffectiveConnectionTypeObserver* observer) {} 37 net::NetworkQualityEstimator::EffectiveConnectionTypeObserver* observer) {}
38 38
39 net::EffectiveConnectionType 39 net::EffectiveConnectionType
40 NetworkQualityProviderStub::GetEffectiveConnectionType() const { 40 NetworkQualityProviderStub::GetEffectiveConnectionType() const {
41 return connection_type_; 41 return connection_type_;
42 } 42 }
43 } // namespace offline_pages 43 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698