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

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

Issue 29123004: Move core/platform/network to platform/network (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more file Created 7 years, 2 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
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/WebDevToolsAgentImpl.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 28 matching lines...) Expand all
39 #include "WebSharedWorkerRepository.h" 39 #include "WebSharedWorkerRepository.h"
40 #include "bindings/v8/ExceptionMessages.h" 40 #include "bindings/v8/ExceptionMessages.h"
41 #include "bindings/v8/ExceptionState.h" 41 #include "bindings/v8/ExceptionState.h"
42 #include "core/dom/ExceptionCode.h" 42 #include "core/dom/ExceptionCode.h"
43 #include "core/dom/ExecutionContext.h" 43 #include "core/dom/ExecutionContext.h"
44 #include "core/dom/MessagePortChannel.h" 44 #include "core/dom/MessagePortChannel.h"
45 #include "core/events/Event.h" 45 #include "core/events/Event.h"
46 #include "core/events/ThreadLocalEventNames.h" 46 #include "core/events/ThreadLocalEventNames.h"
47 #include "core/frame/ContentSecurityPolicy.h" 47 #include "core/frame/ContentSecurityPolicy.h"
48 #include "core/inspector/InspectorInstrumentation.h" 48 #include "core/inspector/InspectorInstrumentation.h"
49 #include "core/platform/network/ResourceResponse.h"
50 #include "core/workers/SharedWorker.h" 49 #include "core/workers/SharedWorker.h"
51 #include "core/workers/WorkerScriptLoader.h" 50 #include "core/workers/WorkerScriptLoader.h"
52 #include "core/workers/WorkerScriptLoaderClient.h" 51 #include "core/workers/WorkerScriptLoaderClient.h"
53 52 #include "platform/network/ResourceResponse.h"
54 #include "public/platform/Platform.h" 53 #include "public/platform/Platform.h"
55 #include "public/platform/WebMessagePortChannel.h" 54 #include "public/platform/WebMessagePortChannel.h"
56 #include "public/platform/WebString.h" 55 #include "public/platform/WebString.h"
57 #include "public/platform/WebURL.h" 56 #include "public/platform/WebURL.h"
58 57
59 namespace WebKit { 58 namespace WebKit {
60 59
61 WebSharedWorkerRepository* s_sharedWorkerRepository = 0; 60 WebSharedWorkerRepository* s_sharedWorkerRepository = 0;
62 61
63 void setSharedWorkerRepository(WebSharedWorkerRepository* repository) 62 void setSharedWorkerRepository(WebSharedWorkerRepository* repository)
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 } 248 }
250 249
251 bool SharedWorkerRepository::hasSharedWorkers(Document* document) 250 bool SharedWorkerRepository::hasSharedWorkers(Document* document)
252 { 251 {
253 WebKit::WebSharedWorkerRepository* repository = WebKit::sharedWorkerReposito ry(); 252 WebKit::WebSharedWorkerRepository* repository = WebKit::sharedWorkerReposito ry();
254 253
255 return repository && repository->hasSharedWorkers(getId(document)); 254 return repository && repository->hasSharedWorkers(getId(document));
256 } 255 }
257 256
258 } // namespace WebCore 257 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/web/AssertMatchingEnums.cpp ('k') | Source/web/WebDevToolsAgentImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698