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

Side by Side Diff: content/child/fileapi/webfilesystem_impl.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 5 #ifndef CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 6 #define CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 30 matching lines...) Expand all
41 41
42 // Deletes thread-specific instance (if exists). For workers it deletes 42 // Deletes thread-specific instance (if exists). For workers it deletes
43 // itself in OnWorkerRunLoopStopped(), but for an instance created on the 43 // itself in OnWorkerRunLoopStopped(), but for an instance created on the
44 // main thread this method must be called. 44 // main thread this method must be called.
45 static void DeleteThreadSpecificInstance(); 45 static void DeleteThreadSpecificInstance();
46 46
47 explicit WebFileSystemImpl(base::MessageLoopProxy* main_thread_loop); 47 explicit WebFileSystemImpl(base::MessageLoopProxy* main_thread_loop);
48 virtual ~WebFileSystemImpl(); 48 virtual ~WebFileSystemImpl();
49 49
50 // WorkerTaskRunner::Observer implementation. 50 // WorkerTaskRunner::Observer implementation.
51 virtual void OnWorkerRunLoopStopped() override; 51 void OnWorkerRunLoopStopped() override;
52 52
53 // WebFileSystem implementation. 53 // WebFileSystem implementation.
54 virtual void openFileSystem( 54 virtual void openFileSystem(
55 const blink::WebURL& storage_partition, 55 const blink::WebURL& storage_partition,
56 const blink::WebFileSystemType type, 56 const blink::WebFileSystemType type,
57 blink::WebFileSystemCallbacks); 57 blink::WebFileSystemCallbacks);
58 virtual void resolveURL( 58 virtual void resolveURL(
59 const blink::WebURL& filesystem_url, 59 const blink::WebURL& filesystem_url,
60 blink::WebFileSystemCallbacks) override; 60 blink::WebFileSystemCallbacks) override;
61 virtual void deleteFileSystem( 61 virtual void deleteFileSystem(
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 CallbacksMap callbacks_; 122 CallbacksMap callbacks_;
123 int next_callbacks_id_; 123 int next_callbacks_id_;
124 WaitableCallbackResultsMap waitable_results_; 124 WaitableCallbackResultsMap waitable_results_;
125 125
126 DISALLOW_COPY_AND_ASSIGN(WebFileSystemImpl); 126 DISALLOW_COPY_AND_ASSIGN(WebFileSystemImpl);
127 }; 127 };
128 128
129 } // namespace content 129 } // namespace content
130 130
131 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_ 131 #endif // CONTENT_CHILD_FILEAPI_WEBFILESYSTEM_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/fileapi/file_system_dispatcher.h ('k') | content/child/fileapi/webfilewriter_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698