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

Side by Side Diff: third_party/WebKit/Source/platform/loader/fetch/ClientHintsPreferences.h

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 ClientHintsPreferences_h 5 #ifndef ClientHintsPreferences_h
6 #define ClientHintsPreferences_h 6 #define ClientHintsPreferences_h
7 7
8 #include "core/CoreExport.h" 8 #include "platform/PlatformExport.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/text/WTFString.h" 10 #include "wtf/text/WTFString.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class CORE_EXPORT ClientHintsPreferences { 14 class PLATFORM_EXPORT ClientHintsPreferences {
15 DISALLOW_NEW(); 15 DISALLOW_NEW();
16 16
17 public: 17 public:
18 class Context { 18 class Context {
19 public: 19 public:
20 virtual void countClientHintsDPR() = 0; 20 virtual void countClientHintsDPR() = 0;
21 virtual void countClientHintsResourceWidth() = 0; 21 virtual void countClientHintsResourceWidth() = 0;
22 virtual void countClientHintsViewportWidth() = 0; 22 virtual void countClientHintsViewportWidth() = 0;
23 23
24 protected: 24 protected:
(...skipping 20 matching lines...) Expand all
45 45
46 private: 46 private:
47 bool m_shouldSendDPR; 47 bool m_shouldSendDPR;
48 bool m_shouldSendResourceWidth; 48 bool m_shouldSendResourceWidth;
49 bool m_shouldSendViewportWidth; 49 bool m_shouldSendViewportWidth;
50 }; 50 };
51 51
52 } // namespace blink 52 } // namespace blink
53 53
54 #endif 54 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698