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

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

Issue 2005433002: [Origin Trials] Install origin trial bindings on V8 context conditionally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-ef-install
Patch Set: Fix multiple definition of signature; addressing nits Created 4 years, 6 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 17 matching lines...) Expand all
28 28
29 // Normally we'd have: 29 // Normally we'd have:
30 // #include <v8.h> 30 // #include <v8.h>
31 // ...but this file is used in cases where we don't have V8 (e.g., Skia) 31 // ...but this file is used in cases where we don't have V8 (e.g., Skia)
32 namespace v8 { 32 namespace v8 {
33 class Context; 33 class Context;
34 class Value; 34 class Value;
35 template <class T> class Local; 35 template <class T> class Local;
36 } 36 }
37 37
38 namespace blink {
39 class ScriptState;
40 }
41
38 namespace WebCoreTestSupport { 42 namespace WebCoreTestSupport {
39 43
40 v8::Local<v8::Value> createInternalsObject(v8::Local<v8::Context>); 44 v8::Local<v8::Value> createInternalsObject(v8::Local<v8::Context>);
41 void injectInternalsObject(v8::Local<v8::Context>); 45 void injectInternalsObject(v8::Local<v8::Context>);
42 void resetInternalsObject(v8::Local<v8::Context>); 46 void resetInternalsObject(v8::Local<v8::Context>);
47 void installOriginTrialsForTests(blink::ScriptState*);
43 48
44 } // namespace blink 49 } // namespace blink
45 50
46 #endif 51 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698