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

Side by Side Diff: Source/modules/webdatabase/DatabaseSync.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
« no previous file with comments | « Source/modules/webdatabase/DatabaseSync.h ('k') | Source/modules/webdatabase/DatabaseTask.h » ('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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 28 matching lines...) Expand all
39 #include "modules/webdatabase/DatabaseContext.h" 39 #include "modules/webdatabase/DatabaseContext.h"
40 #include "modules/webdatabase/DatabaseManager.h" 40 #include "modules/webdatabase/DatabaseManager.h"
41 #include "modules/webdatabase/DatabaseTracker.h" 41 #include "modules/webdatabase/DatabaseTracker.h"
42 #include "modules/webdatabase/SQLError.h" 42 #include "modules/webdatabase/SQLError.h"
43 #include "modules/webdatabase/SQLTransactionSync.h" 43 #include "modules/webdatabase/SQLTransactionSync.h"
44 #include "modules/webdatabase/SQLTransactionSyncCallback.h" 44 #include "modules/webdatabase/SQLTransactionSyncCallback.h"
45 #include "wtf/PassRefPtr.h" 45 #include "wtf/PassRefPtr.h"
46 #include "wtf/RefPtr.h" 46 #include "wtf/RefPtr.h"
47 #include "wtf/text/CString.h" 47 #include "wtf/text/CString.h"
48 48
49 namespace WebCore { 49 namespace blink {
50 50
51 PassRefPtrWillBeRawPtr<DatabaseSync> DatabaseSync::create(ExecutionContext*, Pas sRefPtrWillBeRawPtr<DatabaseBackendBase> backend) 51 PassRefPtrWillBeRawPtr<DatabaseSync> DatabaseSync::create(ExecutionContext*, Pas sRefPtrWillBeRawPtr<DatabaseBackendBase> backend)
52 { 52 {
53 return static_cast<DatabaseSync*>(backend.get()); 53 return static_cast<DatabaseSync*>(backend.get());
54 } 54 }
55 55
56 DatabaseSync::DatabaseSync(DatabaseContext* databaseContext, 56 DatabaseSync::DatabaseSync(DatabaseContext* databaseContext,
57 const String& name, const String& expectedVersion, const String& displayName , unsigned long estimatedSize) 57 const String& name, const String& expectedVersion, const String& displayName , unsigned long estimatedSize)
58 : DatabaseBackendSync(databaseContext, name, expectedVersion, displayName, e stimatedSize) 58 : DatabaseBackendSync(databaseContext, name, expectedVersion, displayName, e stimatedSize)
59 , DatabaseBase(databaseContext->executionContext()) 59 , DatabaseBase(databaseContext->executionContext())
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 #endif 203 #endif
204 } 204 }
205 205
206 #if ENABLE(OILPAN) 206 #if ENABLE(OILPAN)
207 DatabaseSync::TransactionObserver::~TransactionObserver() 207 DatabaseSync::TransactionObserver::~TransactionObserver()
208 { 208 {
209 m_transaction.rollbackIfInProgress(); 209 m_transaction.rollbackIfInProgress();
210 } 210 }
211 #endif 211 #endif
212 212
213 } // namespace WebCore 213 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/DatabaseSync.h ('k') | Source/modules/webdatabase/DatabaseTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698