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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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
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 17 matching lines...) Expand all
28 #include "modules/webdatabase/DatabaseContext.h" 28 #include "modules/webdatabase/DatabaseContext.h"
29 29
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/dom/ExecutionContext.h" 31 #include "core/dom/ExecutionContext.h"
32 #include "modules/webdatabase/Database.h" 32 #include "modules/webdatabase/Database.h"
33 #include "modules/webdatabase/DatabaseManager.h" 33 #include "modules/webdatabase/DatabaseManager.h"
34 #include "modules/webdatabase/DatabaseTask.h" 34 #include "modules/webdatabase/DatabaseTask.h"
35 #include "modules/webdatabase/DatabaseThread.h" 35 #include "modules/webdatabase/DatabaseThread.h"
36 #include "platform/weborigin/SchemeRegistry.h" 36 #include "platform/weborigin/SchemeRegistry.h"
37 #include "platform/weborigin/SecurityOrigin.h" 37 #include "platform/weborigin/SecurityOrigin.h"
38 #include "wtf/Assertions.h" 38 #include "platform/wtf/Assertions.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 // How the DatabaseContext Life-Cycle works? 42 // How the DatabaseContext Life-Cycle works?
43 // ======================================== 43 // ========================================
44 // ... in other words, who's keeping the DatabaseContext alive and how long does 44 // ... in other words, who's keeping the DatabaseContext alive and how long does
45 // it need to stay alive? 45 // it need to stay alive?
46 // 46 //
47 // The DatabaseContext is referenced from: 47 // The DatabaseContext is referenced from:
48 // 1. DatabaseManager 48 // 1. DatabaseManager
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 180
181 SecurityOrigin* DatabaseContext::GetSecurityOrigin() const { 181 SecurityOrigin* DatabaseContext::GetSecurityOrigin() const {
182 return GetExecutionContext()->GetSecurityOrigin(); 182 return GetExecutionContext()->GetSecurityOrigin();
183 } 183 }
184 184
185 bool DatabaseContext::IsContextThread() const { 185 bool DatabaseContext::IsContextThread() const {
186 return GetExecutionContext()->IsContextThread(); 186 return GetExecutionContext()->IsContextThread();
187 } 187 }
188 188
189 } // namespace blink 189 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698