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

Side by Side Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseTracker.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) 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 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 23 matching lines...) Expand all
34 #include "core/dom/ExecutionContext.h" 34 #include "core/dom/ExecutionContext.h"
35 #include "core/dom/TaskRunnerHelper.h" 35 #include "core/dom/TaskRunnerHelper.h"
36 #include "modules/webdatabase/Database.h" 36 #include "modules/webdatabase/Database.h"
37 #include "modules/webdatabase/DatabaseClient.h" 37 #include "modules/webdatabase/DatabaseClient.h"
38 #include "modules/webdatabase/DatabaseContext.h" 38 #include "modules/webdatabase/DatabaseContext.h"
39 #include "modules/webdatabase/QuotaTracker.h" 39 #include "modules/webdatabase/QuotaTracker.h"
40 #include "modules/webdatabase/sqlite/SQLiteFileSystem.h" 40 #include "modules/webdatabase/sqlite/SQLiteFileSystem.h"
41 #include "platform/CrossThreadFunctional.h" 41 #include "platform/CrossThreadFunctional.h"
42 #include "platform/weborigin/SecurityOrigin.h" 42 #include "platform/weborigin/SecurityOrigin.h"
43 #include "platform/weborigin/SecurityOriginHash.h" 43 #include "platform/weborigin/SecurityOriginHash.h"
44 #include "platform/wtf/Assertions.h"
45 #include "platform/wtf/Functional.h"
46 #include "platform/wtf/PtrUtil.h"
47 #include "platform/wtf/StdLibExtras.h"
44 #include "public/platform/Platform.h" 48 #include "public/platform/Platform.h"
45 #include "public/platform/WebDatabaseObserver.h" 49 #include "public/platform/WebDatabaseObserver.h"
46 #include "public/platform/WebSecurityOrigin.h" 50 #include "public/platform/WebSecurityOrigin.h"
47 #include "public/platform/WebTraceLocation.h" 51 #include "public/platform/WebTraceLocation.h"
48 #include "wtf/Assertions.h"
49 #include "wtf/Functional.h"
50 #include "wtf/PtrUtil.h"
51 #include "wtf/StdLibExtras.h"
52 52
53 namespace blink { 53 namespace blink {
54 54
55 static void DatabaseClosed(Database* database) { 55 static void DatabaseClosed(Database* database) {
56 if (Platform::Current()->DatabaseObserver()) { 56 if (Platform::Current()->DatabaseObserver()) {
57 Platform::Current()->DatabaseObserver()->DatabaseClosed( 57 Platform::Current()->DatabaseObserver()->DatabaseClosed(
58 WebSecurityOrigin(database->GetSecurityOrigin()), 58 WebSecurityOrigin(database->GetSecurityOrigin()),
59 database->StringIdentifier()); 59 database->StringIdentifier());
60 } 60 }
61 } 61 }
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 if (found == database_set->end()) 234 if (found == database_set->end())
235 return; 235 return;
236 } 236 }
237 237
238 // And we have to call closeImmediately() without our collection lock being 238 // And we have to call closeImmediately() without our collection lock being
239 // held. 239 // held.
240 database->CloseImmediately(); 240 database->CloseImmediately();
241 } 241 }
242 242
243 } // namespace blink 243 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698