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

Side by Side Diff: content/worker/worker_thread.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 | « content/worker/websharedworker_stub.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_WORKER_WORKER_THREAD_H_ 5 #ifndef CONTENT_WORKER_WORKER_THREAD_H_
6 #define CONTENT_WORKER_WORKER_THREAD_H_ 6 #define CONTENT_WORKER_WORKER_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 // Invoked from stub constructors/destructors. Stubs own themselves. 28 // Invoked from stub constructors/destructors. Stubs own themselves.
29 void AddWorkerStub(WebSharedWorkerStub* stub); 29 void AddWorkerStub(WebSharedWorkerStub* stub);
30 void RemoveWorkerStub(WebSharedWorkerStub* stub); 30 void RemoveWorkerStub(WebSharedWorkerStub* stub);
31 31
32 AppCacheDispatcher* appcache_dispatcher() { 32 AppCacheDispatcher* appcache_dispatcher() {
33 return appcache_dispatcher_.get(); 33 return appcache_dispatcher_.get();
34 } 34 }
35 35
36 private: 36 private:
37 virtual bool OnControlMessageReceived(const IPC::Message& msg); 37 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
38 virtual void OnChannelError(); 38 virtual void OnChannelError() OVERRIDE;
39 39
40 void OnCreateWorker(const WorkerProcessMsg_CreateWorker_Params& params); 40 void OnCreateWorker(const WorkerProcessMsg_CreateWorker_Params& params);
41 41
42 scoped_ptr<WorkerWebKitPlatformSupportImpl> webkit_platform_support_; 42 scoped_ptr<WorkerWebKitPlatformSupportImpl> webkit_platform_support_;
43 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_; 43 scoped_ptr<AppCacheDispatcher> appcache_dispatcher_;
44 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_; 44 scoped_ptr<WebDatabaseObserverImpl> web_database_observer_impl_;
45 scoped_refptr<DBMessageFilter> db_message_filter_; 45 scoped_refptr<DBMessageFilter> db_message_filter_;
46 46
47 typedef std::set<WebSharedWorkerStub*> WorkerStubsList; 47 typedef std::set<WebSharedWorkerStub*> WorkerStubsList;
48 WorkerStubsList worker_stubs_; 48 WorkerStubsList worker_stubs_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(WorkerThread); 50 DISALLOW_COPY_AND_ASSIGN(WorkerThread);
51 }; 51 };
52 52
53 #endif // CONTENT_WORKER_WORKER_THREAD_H_ 53 #endif // CONTENT_WORKER_WORKER_THREAD_H_
OLDNEW
« no previous file with comments | « content/worker/websharedworker_stub.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698