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

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

Issue 54053006: Move weborigin/ under platform/ so that it may someday call platform APIs (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Stale refernence to weboriginexport in .gpyi Created 7 years, 1 month 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/FrameLoaderClientImpl.h ('k') | Source/web/LocalFileSystemClient.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "WebSecurityOrigin.h" 42 #include "WebSecurityOrigin.h"
43 #include "WebViewImpl.h" 43 #include "WebViewImpl.h"
44 #include "WebWorkerClientImpl.h" 44 #include "WebWorkerClientImpl.h"
45 #include "WorkerPermissionClient.h" 45 #include "WorkerPermissionClient.h"
46 #include "bindings/v8/WorkerScriptController.h" 46 #include "bindings/v8/WorkerScriptController.h"
47 #include "core/dom/DOMError.h" 47 #include "core/dom/DOMError.h"
48 #include "core/dom/ExceptionCode.h" 48 #include "core/dom/ExceptionCode.h"
49 #include "core/dom/ExecutionContext.h" 49 #include "core/dom/ExecutionContext.h"
50 #include "core/workers/WorkerGlobalScope.h" 50 #include "core/workers/WorkerGlobalScope.h"
51 #include "modules/indexeddb/IDBDatabaseCallbacks.h" 51 #include "modules/indexeddb/IDBDatabaseCallbacks.h"
52 #include "weborigin/SecurityOrigin.h" 52 #include "platform/weborigin/SecurityOrigin.h"
53 53
54 54
55 using namespace WebCore; 55 using namespace WebCore;
56 56
57 namespace blink { 57 namespace blink {
58 58
59 PassRefPtr<IDBFactoryBackendInterface> IDBFactoryBackendProxy::create() 59 PassRefPtr<IDBFactoryBackendInterface> IDBFactoryBackendProxy::create()
60 { 60 {
61 return adoptRef(new IDBFactoryBackendProxy()); 61 return adoptRef(new IDBFactoryBackendProxy());
62 } 62 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 { 116 {
117 RefPtr<IDBCallbacks> callbacks(prpCallbacks); 117 RefPtr<IDBCallbacks> callbacks(prpCallbacks);
118 WebSecurityOrigin origin(context->securityOrigin()); 118 WebSecurityOrigin origin(context->securityOrigin());
119 if (!allowIndexedDB(context, name, origin, callbacks)) 119 if (!allowIndexedDB(context, name, origin, callbacks))
120 return; 120 return;
121 121
122 m_webIDBFactory->deleteDatabase(name, new WebIDBCallbacks(callbacks), databa seIdentifier); 122 m_webIDBFactory->deleteDatabase(name, new WebIDBCallbacks(callbacks), databa seIdentifier);
123 } 123 }
124 124
125 } // namespace blink 125 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | Source/web/LocalFileSystemClient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698