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

Side by Side Diff: Source/modules/webdatabase/DatabaseTask.h

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) 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 26 matching lines...) Expand all
37 #include "platform/TaskSynchronizer.h" 37 #include "platform/TaskSynchronizer.h"
38 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
39 #include "wtf/OwnPtr.h" 39 #include "wtf/OwnPtr.h"
40 #include "wtf/PassOwnPtr.h" 40 #include "wtf/PassOwnPtr.h"
41 #include "wtf/PassRefPtr.h" 41 #include "wtf/PassRefPtr.h"
42 #include "wtf/RefPtr.h" 42 #include "wtf/RefPtr.h"
43 #include "wtf/Threading.h" 43 #include "wtf/Threading.h"
44 #include "wtf/Vector.h" 44 #include "wtf/Vector.h"
45 #include "wtf/text/WTFString.h" 45 #include "wtf/text/WTFString.h"
46 46
47 namespace WebCore { 47 namespace blink {
48 48
49 class DatabaseTask : public blink::WebThread::Task { 49 class DatabaseTask : public blink::WebThread::Task {
50 WTF_MAKE_NONCOPYABLE(DatabaseTask); WTF_MAKE_FAST_ALLOCATED; 50 WTF_MAKE_NONCOPYABLE(DatabaseTask); WTF_MAKE_FAST_ALLOCATED;
51 public: 51 public:
52 virtual ~DatabaseTask(); 52 virtual ~DatabaseTask();
53 53
54 virtual void run() OVERRIDE FINAL; 54 virtual void run() OVERRIDE FINAL;
55 55
56 DatabaseBackend* database() const { return m_database.get(); } 56 DatabaseBackend* database() const { return m_database.get(); }
57 #if ENABLE(ASSERT) 57 #if ENABLE(ASSERT)
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 DatabaseTableNamesTask(DatabaseBackend*, TaskSynchronizer*, Vector<String>& names); 147 DatabaseTableNamesTask(DatabaseBackend*, TaskSynchronizer*, Vector<String>& names);
148 148
149 virtual void doPerformTask() OVERRIDE; 149 virtual void doPerformTask() OVERRIDE;
150 #if !LOG_DISABLED 150 #if !LOG_DISABLED
151 virtual const char* debugTaskName() const OVERRIDE; 151 virtual const char* debugTaskName() const OVERRIDE;
152 #endif 152 #endif
153 153
154 Vector<String>& m_tableNames; 154 Vector<String>& m_tableNames;
155 }; 155 };
156 156
157 } // namespace WebCore 157 } // namespace blink
158 158
159 #endif // DatabaseTask_h 159 #endif // DatabaseTask_h
OLDNEW
« no previous file with comments | « Source/modules/webdatabase/DatabaseSync.cpp ('k') | Source/modules/webdatabase/DatabaseTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698