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

Side by Side Diff: third_party/WebKit/Source/core/origin_trials/OriginTrialContextTest.cpp

Issue 1921623002: Remove unnecessary ExceptionCode.h inclusion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 #include "core/origin_trials/OriginTrialContext.h" 5 #include "core/origin_trials/OriginTrialContext.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/dom/DOMException.h" 8 #include "core/dom/DOMException.h"
9 #include "core/dom/ExceptionCode.h"
10 #include "core/frame/FrameView.h" 9 #include "core/frame/FrameView.h"
11 #include "core/html/HTMLDocument.h" 10 #include "core/html/HTMLDocument.h"
12 #include "core/html/HTMLHeadElement.h" 11 #include "core/html/HTMLHeadElement.h"
13 #include "core/html/HTMLMetaElement.h" 12 #include "core/html/HTMLMetaElement.h"
14 #include "core/testing/DummyPageHolder.h" 13 #include "core/testing/DummyPageHolder.h"
15 #include "core/testing/NullExecutionContext.h" 14 #include "core/testing/NullExecutionContext.h"
16 #include "platform/weborigin/KURL.h" 15 #include "platform/weborigin/KURL.h"
17 #include "platform/weborigin/SecurityOrigin.h" 16 #include "platform/weborigin/SecurityOrigin.h"
18 #include "public/platform/WebTrialTokenValidator.h" 17 #include "public/platform/WebTrialTokenValidator.h"
19 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 { 224 {
226 bool isOriginEnabled = isFeatureEnabledWithoutErrorMessage( 225 bool isOriginEnabled = isFeatureEnabledWithoutErrorMessage(
227 kFrobulateEnabledOriginUnsecure, 226 kFrobulateEnabledOriginUnsecure,
228 kFrobulateFeatureName, 227 kFrobulateFeatureName,
229 kGoodToken); 228 kGoodToken);
230 EXPECT_FALSE(isOriginEnabled); 229 EXPECT_FALSE(isOriginEnabled);
231 EXPECT_EQ(0, tokenValidator()->callCount()); 230 EXPECT_EQ(0, tokenValidator()->callCount());
232 } 231 }
233 232
234 } // namespace blink 233 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698