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

Side by Side Diff: Source/modules/webdatabase/Database.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/Database.h ('k') | Source/modules/webdatabase/DatabaseAuthorizer.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) 2007, 2008, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2013 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "modules/webdatabase/SQLTransactionCallback.h" 47 #include "modules/webdatabase/SQLTransactionCallback.h"
48 #include "modules/webdatabase/SQLTransactionErrorCallback.h" 48 #include "modules/webdatabase/SQLTransactionErrorCallback.h"
49 #include "platform/weborigin/SecurityOrigin.h" 49 #include "platform/weborigin/SecurityOrigin.h"
50 #include "wtf/OwnPtr.h" 50 #include "wtf/OwnPtr.h"
51 #include "wtf/PassOwnPtr.h" 51 #include "wtf/PassOwnPtr.h"
52 #include "wtf/PassRefPtr.h" 52 #include "wtf/PassRefPtr.h"
53 #include "wtf/RefPtr.h" 53 #include "wtf/RefPtr.h"
54 #include "wtf/StdLibExtras.h" 54 #include "wtf/StdLibExtras.h"
55 #include "wtf/text/CString.h" 55 #include "wtf/text/CString.h"
56 56
57 namespace WebCore { 57 namespace blink {
58 58
59 PassRefPtrWillBeRawPtr<Database> Database::create(ExecutionContext*, PassRefPtrW illBeRawPtr<DatabaseBackendBase> backend) 59 PassRefPtrWillBeRawPtr<Database> Database::create(ExecutionContext*, PassRefPtrW illBeRawPtr<DatabaseBackendBase> backend)
60 { 60 {
61 // FIXME: Currently, we're only simulating the backend by return the 61 // FIXME: Currently, we're only simulating the backend by return the
62 // frontend database as its own the backend. When we split the 2 apart, 62 // frontend database as its own the backend. When we split the 2 apart,
63 // this create() function should be changed to be a factory method for 63 // this create() function should be changed to be a factory method for
64 // instantiating the backend. 64 // instantiating the backend.
65 return static_cast<Database*>(backend.get()); 65 return static_cast<Database*>(backend.get());
66 } 66 }
67 67
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 { 242 {
243 backend()->reportStartTransactionResult(errorSite, webSqlErrorCode, sqliteEr rorCode); 243 backend()->reportStartTransactionResult(errorSite, webSqlErrorCode, sqliteEr rorCode);
244 } 244 }
245 245
246 void Database::reportCommitTransactionResult(int errorSite, int webSqlErrorCode, int sqliteErrorCode) 246 void Database::reportCommitTransactionResult(int errorSite, int webSqlErrorCode, int sqliteErrorCode)
247 { 247 {
248 backend()->reportCommitTransactionResult(errorSite, webSqlErrorCode, sqliteE rrorCode); 248 backend()->reportCommitTransactionResult(errorSite, webSqlErrorCode, sqliteE rrorCode);
249 } 249 }
250 250
251 251
252 } // namespace WebCore 252 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/Database.h ('k') | Source/modules/webdatabase/DatabaseAuthorizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698