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

Side by Side Diff: Source/web/MediaKeysClientImpl.cpp

Issue 462353003: Cleanup namespace usage in Source/web[A-V]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Minor updates Created 6 years, 4 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
« no previous file with comments | « Source/web/MIDIClientProxy.cpp ('k') | Source/web/NavigatorContentUtilsClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "web/MediaKeysClientImpl.h" 6 #include "web/MediaKeysClientImpl.h"
7 7
8 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
9 #include "core/dom/ExecutionContext.h" 9 #include "core/dom/ExecutionContext.h"
10 #include "public/platform/WebContentDecryptionModule.h" 10 #include "public/platform/WebContentDecryptionModule.h"
11 #include "public/web/WebFrameClient.h" 11 #include "public/web/WebFrameClient.h"
12 #include "web/WebLocalFrameImpl.h" 12 #include "web/WebLocalFrameImpl.h"
13 13
14 using namespace blink;
15
16 namespace blink { 14 namespace blink {
17 15
18 MediaKeysClientImpl::MediaKeysClientImpl() 16 MediaKeysClientImpl::MediaKeysClientImpl()
19 { 17 {
20 } 18 }
21 19
22 PassOwnPtr<WebContentDecryptionModule> MediaKeysClientImpl::createContentDecrypt ionModule(blink::ExecutionContext* executionContext, const String& keySystem) 20 PassOwnPtr<WebContentDecryptionModule> MediaKeysClientImpl::createContentDecrypt ionModule(ExecutionContext* executionContext, const String& keySystem)
23 { 21 {
24 Document* document = toDocument(executionContext); 22 Document* document = toDocument(executionContext);
25 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame() ); 23 WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame() );
26 WebSecurityOrigin securityOrigin(executionContext->securityOrigin()); 24 WebSecurityOrigin securityOrigin(executionContext->securityOrigin());
27 return adoptPtr(webFrame->client()->createContentDecryptionModule(webFrame, securityOrigin, keySystem)); 25 return adoptPtr(webFrame->client()->createContentDecryptionModule(webFrame, securityOrigin, keySystem));
28 } 26 }
29 27
30 } // namespace blink 28 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/MIDIClientProxy.cpp ('k') | Source/web/NavigatorContentUtilsClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698