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

Side by Side Diff: Source/bindings/core/v8/ScriptPromisePropertyBase.cpp

Issue 398673003: Rename WebCore namespace to blink in bindings and web (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "config.h" 5 #include "config.h"
6 #include "bindings/core/v8/ScriptPromisePropertyBase.h" 6 #include "bindings/core/v8/ScriptPromisePropertyBase.h"
7 7
8 #include "bindings/core/v8/V8Binding.h" 8 #include "bindings/core/v8/V8Binding.h"
9 #include "bindings/core/v8/V8HiddenValue.h" 9 #include "bindings/core/v8/V8HiddenValue.h"
10 #include "core/dom/ExecutionContext.h" 10 #include "core/dom/ExecutionContext.h"
11 11
12 namespace WebCore { 12 namespace blink {
13 13
14 ScriptPromisePropertyBase::ScriptPromisePropertyBase(ExecutionContext* execution Context, Name name) 14 ScriptPromisePropertyBase::ScriptPromisePropertyBase(ExecutionContext* execution Context, Name name)
15 : ContextLifecycleObserver(executionContext) 15 : ContextLifecycleObserver(executionContext)
16 , m_isolate(toIsolate(executionContext)) 16 , m_isolate(toIsolate(executionContext))
17 , m_name(name) 17 , m_name(name)
18 , m_state(Pending) 18 , m_state(Pending)
19 { 19 {
20 } 20 }
21 21
22 ScriptPromisePropertyBase::~ScriptPromisePropertyBase() 22 ScriptPromisePropertyBase::~ScriptPromisePropertyBase()
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 return V8HiddenValue::Name ## Resolver(m_isolate); 143 return V8HiddenValue::Name ## Resolver(m_isolate);
144 144
145 SCRIPT_PROMISE_PROPERTIES(P) 145 SCRIPT_PROMISE_PROPERTIES(P)
146 146
147 #undef P 147 #undef P
148 } 148 }
149 ASSERT_NOT_REACHED(); 149 ASSERT_NOT_REACHED();
150 return v8::Handle<v8::String>(); 150 return v8::Handle<v8::String>();
151 } 151 }
152 152
153 } // namespace WebCore 153 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/ScriptPromisePropertyBase.h ('k') | Source/bindings/core/v8/ScriptPromisePropertyTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698