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

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

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/WebSettingsImpl.cpp ('k') | Source/web/WebSocketImpl.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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "public/web/WebView.h" 65 #include "public/web/WebView.h"
66 #include "public/web/WebWorkerPermissionClientProxy.h" 66 #include "public/web/WebWorkerPermissionClientProxy.h"
67 #include "web/DatabaseClientImpl.h" 67 #include "web/DatabaseClientImpl.h"
68 #include "web/LocalFileSystemClient.h" 68 #include "web/LocalFileSystemClient.h"
69 #include "web/WebDataSourceImpl.h" 69 #include "web/WebDataSourceImpl.h"
70 #include "web/WebLocalFrameImpl.h" 70 #include "web/WebLocalFrameImpl.h"
71 #include "web/WorkerPermissionClient.h" 71 #include "web/WorkerPermissionClient.h"
72 #include "wtf/Functional.h" 72 #include "wtf/Functional.h"
73 #include "wtf/MainThread.h" 73 #include "wtf/MainThread.h"
74 74
75 using namespace blink;
76
77 namespace blink { 75 namespace blink {
78 76
79 // A thin wrapper for one-off script loading. 77 // A thin wrapper for one-off script loading.
80 class WebSharedWorkerImpl::Loader : public WorkerScriptLoaderClient { 78 class WebSharedWorkerImpl::Loader : public WorkerScriptLoaderClient {
81 public: 79 public:
82 static PassOwnPtr<Loader> create() 80 static PassOwnPtr<Loader> create()
83 { 81 {
84 return adoptPtr(new Loader()); 82 return adoptPtr(new Loader());
85 } 83 }
86 84
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 workerThread()->postDebuggerTask(createCrossThreadTask(dispatchOnInspectorBa ckendTask, String(message))); 447 workerThread()->postDebuggerTask(createCrossThreadTask(dispatchOnInspectorBa ckendTask, String(message)));
450 workerThread()->interruptAndDispatchInspectorCommands(); 448 workerThread()->interruptAndDispatchInspectorCommands();
451 } 449 }
452 450
453 WebSharedWorker* WebSharedWorker::create(WebSharedWorkerClient* client) 451 WebSharedWorker* WebSharedWorker::create(WebSharedWorkerClient* client)
454 { 452 {
455 return new WebSharedWorkerImpl(client); 453 return new WebSharedWorkerImpl(client);
456 } 454 }
457 455
458 } // namespace blink 456 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSettingsImpl.cpp ('k') | Source/web/WebSocketImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698