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

Side by Side Diff: third_party/WebKit/Source/core/testing/OriginTrialsTestPartial.h

Issue 2340323002: Add Origin Trials Test interface, rather than attaching trials directly to internals. (Closed)
Patch Set: IDL-backed methods are not static on full interfaces Created 4 years, 3 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef OriginTrialsTestPartial_h
6 #define OriginTrialsTestPartial_h
7
8 #include "wtf/Allocator.h"
9
10 namespace blink {
11
12 class OriginTrialsTest;
13
14 class OriginTrialsTestPartial final {
15 STATIC_ONLY(OriginTrialsTestPartial);
16 public:
17 static bool normalAttributePartial(OriginTrialsTest&) { return true; }
18 static bool staticAttributePartial() { return true; }
19 static bool methodPartial(OriginTrialsTest&) { return true; }
20 static bool staticMethodPartial() { return true; }
21 static const unsigned kConstantPartial = 2;
22 };
23
24 } // namespace blink
25
26 #endif // OriginTrialsTestPartial_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698