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

Side by Side Diff: Source/modules/webdatabase/DatabaseContext.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2011 Google, Inc. All Rights Reserved. 3 * Copyright (C) 2011 Google, Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
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 20 matching lines...) Expand all
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/dom/ExecutionContext.h" 32 #include "core/dom/ExecutionContext.h"
33 #include "core/page/Chrome.h" 33 #include "core/page/Chrome.h"
34 #include "core/page/ChromeClient.h" 34 #include "core/page/ChromeClient.h"
35 #include "core/page/Page.h" 35 #include "core/page/Page.h"
36 #include "core/page/Settings.h" 36 #include "core/page/Settings.h"
37 #include "modules/webdatabase/Database.h" 37 #include "modules/webdatabase/Database.h"
38 #include "modules/webdatabase/DatabaseManager.h" 38 #include "modules/webdatabase/DatabaseManager.h"
39 #include "modules/webdatabase/DatabaseTask.h" 39 #include "modules/webdatabase/DatabaseTask.h"
40 #include "modules/webdatabase/DatabaseThread.h" 40 #include "modules/webdatabase/DatabaseThread.h"
41 #include "weborigin/SchemeRegistry.h" 41 #include "platform/weborigin/SchemeRegistry.h"
42 #include "weborigin/SecurityOrigin.h" 42 #include "platform/weborigin/SecurityOrigin.h"
43 43
44 namespace WebCore { 44 namespace WebCore {
45 45
46 // How the DatabaseContext Life-Cycle works? 46 // How the DatabaseContext Life-Cycle works?
47 // ======================================== 47 // ========================================
48 // ... in other words, who's keeping the DatabaseContext alive and how long does 48 // ... in other words, who's keeping the DatabaseContext alive and how long does
49 // it need to stay alive? 49 // it need to stay alive?
50 // 50 //
51 // The DatabaseContext is referenced from RefPtrs in: 51 // The DatabaseContext is referenced from RefPtrs in:
52 // 1. ExecutionContext 52 // 1. ExecutionContext
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 { 208 {
209 return executionContext()->securityOrigin(); 209 return executionContext()->securityOrigin();
210 } 210 }
211 211
212 bool DatabaseContext::isContextThread() const 212 bool DatabaseContext::isContextThread() const
213 { 213 {
214 return executionContext()->isContextThread(); 214 return executionContext()->isContextThread();
215 } 215 }
216 216
217 } // namespace WebCore 217 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/DatabaseBackendBase.cpp ('k') | Source/modules/webdatabase/DatabaseManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698