OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 20 matching lines...) Expand all Loading... |
31 #include "config.h" | 31 #include "config.h" |
32 #include "web/DatabaseClientImpl.h" | 32 #include "web/DatabaseClientImpl.h" |
33 | 33 |
34 #include "core/dom/Document.h" | 34 #include "core/dom/Document.h" |
35 #include "core/dom/ExecutionContext.h" | 35 #include "core/dom/ExecutionContext.h" |
36 #include "core/workers/WorkerGlobalScope.h" | 36 #include "core/workers/WorkerGlobalScope.h" |
37 #include "public/web/WebPermissionClient.h" | 37 #include "public/web/WebPermissionClient.h" |
38 #include "web/WebLocalFrameImpl.h" | 38 #include "web/WebLocalFrameImpl.h" |
39 #include "web/WorkerPermissionClient.h" | 39 #include "web/WorkerPermissionClient.h" |
40 | 40 |
41 using namespace WebCore; | 41 using namespace blink; |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 PassOwnPtrWillBeRawPtr<DatabaseClientImpl> DatabaseClientImpl::create() | 45 PassOwnPtrWillBeRawPtr<DatabaseClientImpl> DatabaseClientImpl::create() |
46 { | 46 { |
47 return adoptPtrWillBeNoop(new DatabaseClientImpl()); | 47 return adoptPtrWillBeNoop(new DatabaseClientImpl()); |
48 } | 48 } |
49 | 49 |
50 DatabaseClientImpl::~DatabaseClientImpl() | 50 DatabaseClientImpl::~DatabaseClientImpl() |
51 { | 51 { |
(...skipping 15 matching lines...) Expand all Loading... |
67 return WorkerPermissionClient::from(workerGlobalScope)->allowDatabase(na
me, displayName, estimatedSize); | 67 return WorkerPermissionClient::from(workerGlobalScope)->allowDatabase(na
me, displayName, estimatedSize); |
68 } | 68 } |
69 return true; | 69 return true; |
70 } | 70 } |
71 | 71 |
72 DatabaseClientImpl::DatabaseClientImpl() | 72 DatabaseClientImpl::DatabaseClientImpl() |
73 { | 73 { |
74 } | 74 } |
75 | 75 |
76 } // namespace blink | 76 } // namespace blink |
OLD | NEW |