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: Source/WebKit/chromium/src/AssertMatchingEnums.cpp

Issue 14746002: Add WebPrescientNetworking to trigger preconnect from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: nits Created 7 years, 7 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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 #include <public/WebFileSystem.h> 39 #include <public/WebFileSystem.h>
40 #include <public/WebFilterOperation.h> 40 #include <public/WebFilterOperation.h>
41 #include <public/WebIDBCursor.h> 41 #include <public/WebIDBCursor.h>
42 #include <public/WebIDBDatabase.h> 42 #include <public/WebIDBDatabase.h>
43 #include <public/WebIDBDatabaseException.h> 43 #include <public/WebIDBDatabaseException.h>
44 #include <public/WebIDBFactory.h> 44 #include <public/WebIDBFactory.h>
45 #include <public/WebIDBKey.h> 45 #include <public/WebIDBKey.h>
46 #include <public/WebIDBKeyPath.h> 46 #include <public/WebIDBKeyPath.h>
47 #include <public/WebIDBMetadata.h> 47 #include <public/WebIDBMetadata.h>
48 #include <public/WebMediaStreamSource.h> 48 #include <public/WebMediaStreamSource.h>
49 #include <public/WebPreconnectMotivation.h>
49 #include <public/WebReferrerPolicy.h> 50 #include <public/WebReferrerPolicy.h>
50 #include <public/WebRTCDataChannelHandlerClient.h> 51 #include <public/WebRTCDataChannelHandlerClient.h>
51 #include <public/WebRTCPeerConnectionHandlerClient.h> 52 #include <public/WebRTCPeerConnectionHandlerClient.h>
52 #include <public/WebScrollbar.h> 53 #include <public/WebScrollbar.h>
53 #include <public/WebURLRequest.h> 54 #include <public/WebURLRequest.h>
54 #include <public/WebURLResponse.h> 55 #include <public/WebURLResponse.h>
55 #include <wtf/Assertions.h> 56 #include <wtf/Assertions.h>
56 #include <wtf/text/StringImpl.h> 57 #include <wtf/text/StringImpl.h>
57 #include "WebAccessibilityNotification.h" 58 #include "WebAccessibilityNotification.h"
58 #include "WebAccessibilityObject.h" 59 #include "WebAccessibilityObject.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 #include "core/platform/FileMetadata.h" 102 #include "core/platform/FileMetadata.h"
102 #include "core/platform/ReferrerPolicy.h" 103 #include "core/platform/ReferrerPolicy.h"
103 #include "core/platform/graphics/FontDescription.h" 104 #include "core/platform/graphics/FontDescription.h"
104 #include "core/platform/graphics/FontSmoothingMode.h" 105 #include "core/platform/graphics/FontSmoothingMode.h"
105 #include "core/platform/graphics/MediaPlayer.h" 106 #include "core/platform/graphics/MediaPlayer.h"
106 #include "core/platform/graphics/MediaSourcePrivate.h" 107 #include "core/platform/graphics/MediaSourcePrivate.h"
107 #include "core/platform/graphics/filters/FilterOperation.h" 108 #include "core/platform/graphics/filters/FilterOperation.h"
108 #include "core/platform/mediastream/MediaStreamSource.h" 109 #include "core/platform/mediastream/MediaStreamSource.h"
109 #include "core/platform/mediastream/RTCDataChannelHandlerClient.h" 110 #include "core/platform/mediastream/RTCDataChannelHandlerClient.h"
110 #include "core/platform/mediastream/RTCPeerConnectionHandlerClient.h" 111 #include "core/platform/mediastream/RTCPeerConnectionHandlerClient.h"
112 #include "core/platform/network/Preconnect.h"
111 #include "core/platform/network/ResourceLoadPriority.h" 113 #include "core/platform/network/ResourceLoadPriority.h"
112 #include "core/platform/network/ResourceResponse.h" 114 #include "core/platform/network/ResourceResponse.h"
113 #include "core/platform/text/TextChecking.h" 115 #include "core/platform/text/TextChecking.h"
114 #include "modules/filesystem/FileSystemType.h" 116 #include "modules/filesystem/FileSystemType.h"
115 #include "modules/geolocation/GeolocationError.h" 117 #include "modules/geolocation/GeolocationError.h"
116 #include "modules/geolocation/GeolocationPosition.h" 118 #include "modules/geolocation/GeolocationPosition.h"
117 #include "modules/indexeddb/IDBCursor.h" 119 #include "modules/indexeddb/IDBCursor.h"
118 #include "modules/indexeddb/IDBDatabaseBackendInterface.h" 120 #include "modules/indexeddb/IDBDatabaseBackendInterface.h"
119 #include "modules/indexeddb/IDBDatabaseException.h" 121 #include "modules/indexeddb/IDBDatabaseException.h"
120 #include "modules/indexeddb/IDBKey.h" 122 #include "modules/indexeddb/IDBKey.h"
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorAbort, ABORT_ERR); 534 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaErrorAbort, ABORT_ERR);
533 535
534 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaTypeTemporary, StorageQuota::Tempora ry); 536 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaTypeTemporary, StorageQuota::Tempora ry);
535 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaTypePersistent, StorageQuota::Persis tent); 537 COMPILE_ASSERT_MATCHING_ENUM(WebStorageQuotaTypePersistent, StorageQuota::Persis tent);
536 538
537 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStateVisible, PageVisibilityStateV isible); 539 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStateVisible, PageVisibilityStateV isible);
538 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStateHidden, PageVisibilityStateHi dden); 540 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStateHidden, PageVisibilityStateHi dden);
539 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStatePrerender, PageVisibilityStat ePrerender); 541 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStatePrerender, PageVisibilityStat ePrerender);
540 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStatePreview, PageVisibilityStateP review); 542 COMPILE_ASSERT_MATCHING_ENUM(WebPageVisibilityStatePreview, PageVisibilityStateP review);
541 543
544 COMPILE_ASSERT_MATCHING_ENUM(WebPreconnectMotivationLinkMouseDown, PreconnectMot ivationLinkMouseDown);
545 COMPILE_ASSERT_MATCHING_ENUM(WebPreconnectMotivationLinkMouseOver, PreconnectMot ivationLinkMouseOver);
546 COMPILE_ASSERT_MATCHING_ENUM(WebPreconnectMotivationLinkTapUnconfirmed, Preconne ctMotivationLinkTapUnconfirmed);
547 COMPILE_ASSERT_MATCHING_ENUM(WebPreconnectMotivationLinkTapDown, PreconnectMotiv ationLinkTapDown);
548
542 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeAudio, MediaStreamSource: :TypeAudio); 549 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeAudio, MediaStreamSource: :TypeAudio);
543 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeVideo, MediaStreamSource: :TypeVideo); 550 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::TypeVideo, MediaStreamSource: :TypeVideo);
544 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateLive, MediaStreamSo urce::ReadyStateLive); 551 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateLive, MediaStreamSo urce::ReadyStateLive);
545 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateMuted, MediaStreamS ource::ReadyStateMuted); 552 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateMuted, MediaStreamS ource::ReadyStateMuted);
546 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateEnded, MediaStreamS ource::ReadyStateEnded); 553 COMPILE_ASSERT_MATCHING_ENUM(WebMediaStreamSource::ReadyStateEnded, MediaStreamS ource::ReadyStateEnded);
547 554
548 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateSt able, RTCPeerConnectionHandlerClient::SignalingStateStable); 555 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateSt able, RTCPeerConnectionHandlerClient::SignalingStateStable);
549 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHa veLocalOffer, RTCPeerConnectionHandlerClient::SignalingStateHaveLocalOffer); 556 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHa veLocalOffer, RTCPeerConnectionHandlerClient::SignalingStateHaveLocalOffer);
550 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHa veRemoteOffer, RTCPeerConnectionHandlerClient::SignalingStateHaveRemoteOffer); 557 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHa veRemoteOffer, RTCPeerConnectionHandlerClient::SignalingStateHaveRemoteOffer);
551 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHa veLocalPrAnswer, RTCPeerConnectionHandlerClient::SignalingStateHaveLocalPrAnswer ); 558 COMPILE_ASSERT_MATCHING_ENUM(WebRTCPeerConnectionHandlerClient::SignalingStateHa veLocalPrAnswer, RTCPeerConnectionHandlerClient::SignalingStateHaveLocalPrAnswer );
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryLow, ResourceLoadPriorit yVeryLow); 615 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryLow, ResourceLoadPriorit yVeryLow);
609 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityLow, ResourceLoadPriorityLow ); 616 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityLow, ResourceLoadPriorityLow );
610 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityMedium, ResourceLoadPriority Medium); 617 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityMedium, ResourceLoadPriority Medium);
611 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityHigh, ResourceLoadPriorityHi gh); 618 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityHigh, ResourceLoadPriorityHi gh);
612 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriori tyVeryHigh); 619 COMPILE_ASSERT_MATCHING_ENUM(WebURLRequest::PriorityVeryHigh, ResourceLoadPriori tyVeryHigh);
613 620
614 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel); 621 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelDebug, DebugMessageLevel);
615 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel); 622 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelLog, LogMessageLevel);
616 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLeve l); 623 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelWarning, WarningMessageLeve l);
617 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel); 624 COMPILE_ASSERT_MATCHING_ENUM(WebConsoleMessage::LevelError, ErrorMessageLevel);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698