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

Side by Side Diff: Source/modules/webdatabase/DatabaseContext.cpp

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
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 "modules/webdatabase/Database.h" 33 #include "modules/webdatabase/Database.h"
34 #include "modules/webdatabase/DatabaseManager.h" 34 #include "modules/webdatabase/DatabaseManager.h"
35 #include "modules/webdatabase/DatabaseTask.h" 35 #include "modules/webdatabase/DatabaseTask.h"
36 #include "modules/webdatabase/DatabaseThread.h" 36 #include "modules/webdatabase/DatabaseThread.h"
37 #include "platform/weborigin/SchemeRegistry.h" 37 #include "platform/weborigin/SchemeRegistry.h"
38 #include "platform/weborigin/SecurityOrigin.h" 38 #include "platform/weborigin/SecurityOrigin.h"
39 #include "wtf/Assertions.h" 39 #include "wtf/Assertions.h"
40 40
41 namespace WebCore { 41 namespace blink {
42 42
43 // How the DatabaseContext Life-Cycle works? 43 // How the DatabaseContext Life-Cycle works?
44 // ======================================== 44 // ========================================
45 // ... in other words, who's keeping the DatabaseContext alive and how long does 45 // ... in other words, who's keeping the DatabaseContext alive and how long does
46 // it need to stay alive? 46 // it need to stay alive?
47 // 47 //
48 // The DatabaseContext is referenced from RefPtrs in: 48 // The DatabaseContext is referenced from RefPtrs in:
49 // 1. ExecutionContext 49 // 1. ExecutionContext
50 // 2. Database 50 // 2. Database
51 // 51 //
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 SecurityOrigin* DatabaseContext::securityOrigin() const 259 SecurityOrigin* DatabaseContext::securityOrigin() const
260 { 260 {
261 return executionContext()->securityOrigin(); 261 return executionContext()->securityOrigin();
262 } 262 }
263 263
264 bool DatabaseContext::isContextThread() const 264 bool DatabaseContext::isContextThread() const
265 { 265 {
266 return executionContext()->isContextThread(); 266 return executionContext()->isContextThread();
267 } 267 }
268 268
269 } // namespace WebCore 269 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/DatabaseContext.h ('k') | Source/modules/webdatabase/DatabaseError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698