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

Side by Side Diff: third_party/WebKit/Source/core/frame/OriginsUsingFeatures.h

Issue 1723353002: Add deprecation message for AppCache in insecure contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase on ToT Created 4 years, 9 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 OriginsUsingFeatures_h 5 #ifndef OriginsUsingFeatures_h
6 #define OriginsUsingFeatures_h 6 #define OriginsUsingFeatures_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
(...skipping 17 matching lines...) Expand all
28 ElementCreateShadowRoot, 28 ElementCreateShadowRoot,
29 DocumentRegisterElement, 29 DocumentRegisterElement,
30 EventPath, 30 EventPath,
31 DeviceMotionInsecureOrigin, 31 DeviceMotionInsecureOrigin,
32 DeviceOrientationInsecureOrigin, 32 DeviceOrientationInsecureOrigin,
33 FullscreenInsecureOrigin, 33 FullscreenInsecureOrigin,
34 GeolocationInsecureOrigin, 34 GeolocationInsecureOrigin,
35 GetUserMediaInsecureOrigin, 35 GetUserMediaInsecureOrigin,
36 GetUserMediaSecureOrigin, 36 GetUserMediaSecureOrigin,
37 ElementAttachShadow, 37 ElementAttachShadow,
38 ApplicationCacheManifestSelectInsecureOrigin,
39 ApplicationCacheAPIInsecureOrigin,
38 40
39 NumberOfFeatures // This must be the last item. 41 NumberOfFeatures // This must be the last item.
40 }; 42 };
41 43
42 static void countAnyWorld(Document&, Feature); 44 static void countAnyWorld(Document&, Feature);
43 static void countMainWorldOnly(const ScriptState*, Document&, Feature); 45 static void countMainWorldOnly(const ScriptState*, Document&, Feature);
44 static void countOriginOrIsolatedWorldHumanReadableName(const ScriptState*, EventTarget&, Feature); 46 static void countOriginOrIsolatedWorldHumanReadableName(const ScriptState*, EventTarget&, Feature);
45 47
46 void documentDetached(Document&); 48 void documentDetached(Document&);
47 void updateMeasurementsAndClear(); 49 void updateMeasurementsAndClear();
(...skipping 25 matching lines...) Expand all
73 void recordOriginsToRappor(); 75 void recordOriginsToRappor();
74 void recordNamesToRappor(); 76 void recordNamesToRappor();
75 77
76 Vector<std::pair<String, OriginsUsingFeatures::Value>, 1> m_originAndValues; 78 Vector<std::pair<String, OriginsUsingFeatures::Value>, 1> m_originAndValues;
77 HashMap<String, OriginsUsingFeatures::Value> m_valueByName; 79 HashMap<String, OriginsUsingFeatures::Value> m_valueByName;
78 }; 80 };
79 81
80 } // namespace blink 82 } // namespace blink
81 83
82 #endif // OriginsUsingFeatures_h 84 #endif // OriginsUsingFeatures_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698