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

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

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 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_NETWORK_QUALITY_PROVIDER_STUB_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_NETWORK_QUALITY_PROVIDER_STUB_H _
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_NETWORK_QUALITY_PROVIDER_STUB_H_ 6 #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_NETWORK_QUALITY_PROVIDER_STUB_H _
7 7
8 #include "base/supports_user_data.h" 8 #include "base/supports_user_data.h"
9 #include "net/nqe/effective_connection_type.h" 9 #include "net/nqe/effective_connection_type.h"
10 #include "net/nqe/network_quality_estimator.h" 10 #include "net/nqe/network_quality_estimator.h"
11 11
12 namespace offline_pages { 12 namespace offline_pages {
13 13
14 // Test class stubbing out the functionality of NQE::NetworkQualityProvider. 14 // Test class stubbing out the functionality of NQE::NetworkQualityProvider.
15 // It is only used for test support. 15 // It is only used for test support.
16 class NetworkQualityProviderStub 16 class NetworkQualityProviderStub
(...skipping 21 matching lines...) Expand all
38 void SetEffectiveConnectionTypeForTest(net::EffectiveConnectionType type) { 38 void SetEffectiveConnectionTypeForTest(net::EffectiveConnectionType type) {
39 connection_type_ = type; 39 connection_type_ = type;
40 } 40 }
41 41
42 private: 42 private:
43 net::EffectiveConnectionType connection_type_; 43 net::EffectiveConnectionType connection_type_;
44 }; 44 };
45 45
46 } // namespace offline_pages 46 } // namespace offline_pages
47 47
48 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_NETWORK_QUALITY_PROVIDER_STUB_H_ 48 #endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_NETWORK_QUALITY_PROVIDER_STU B_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698