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

Side by Side Diff: content/child/appcache/appcache_dispatcher.h

Issue 630743005: Replace OVERRIDE and FINAL with override and final in content/child/[a-s]* (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_APPCACHE_APPCACHE_DISPATCHER_H_ 5 #ifndef CONTENT_CHILD_APPCACHE_APPCACHE_DISPATCHER_H_
6 #define CONTENT_CHILD_APPCACHE_APPCACHE_DISPATCHER_H_ 6 #define CONTENT_CHILD_APPCACHE_APPCACHE_DISPATCHER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 10 matching lines...) Expand all
21 // creates an instance and delegates calls to it. 21 // creates an instance and delegates calls to it.
22 class AppCacheDispatcher : public IPC::Listener { 22 class AppCacheDispatcher : public IPC::Listener {
23 public: 23 public:
24 AppCacheDispatcher(IPC::Sender* sender, 24 AppCacheDispatcher(IPC::Sender* sender,
25 AppCacheFrontend* frontend); 25 AppCacheFrontend* frontend);
26 virtual ~AppCacheDispatcher(); 26 virtual ~AppCacheDispatcher();
27 27
28 AppCacheBackendProxy* backend_proxy() { return &backend_proxy_; } 28 AppCacheBackendProxy* backend_proxy() { return &backend_proxy_; }
29 29
30 // IPC::Listener implementation 30 // IPC::Listener implementation
31 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 31 virtual bool OnMessageReceived(const IPC::Message& msg) override;
32 32
33 private: 33 private:
34 // Ipc message handlers 34 // Ipc message handlers
35 void OnCacheSelected(int host_id, const AppCacheInfo& info); 35 void OnCacheSelected(int host_id, const AppCacheInfo& info);
36 void OnStatusChanged(const std::vector<int>& host_ids, 36 void OnStatusChanged(const std::vector<int>& host_ids,
37 AppCacheStatus status); 37 AppCacheStatus status);
38 void OnEventRaised(const std::vector<int>& host_ids, 38 void OnEventRaised(const std::vector<int>& host_ids,
39 AppCacheEventID event_id); 39 AppCacheEventID event_id);
40 void OnProgressEventRaised(const std::vector<int>& host_ids, 40 void OnProgressEventRaised(const std::vector<int>& host_ids,
41 const GURL& url, int num_total, int num_complete); 41 const GURL& url, int num_total, int num_complete);
42 void OnErrorEventRaised(const std::vector<int>& host_ids, 42 void OnErrorEventRaised(const std::vector<int>& host_ids,
43 const AppCacheErrorDetails& details); 43 const AppCacheErrorDetails& details);
44 void OnLogMessage(int host_id, int log_level, const std::string& message); 44 void OnLogMessage(int host_id, int log_level, const std::string& message);
45 void OnContentBlocked(int host_id, const GURL& manifest_url); 45 void OnContentBlocked(int host_id, const GURL& manifest_url);
46 46
47 AppCacheBackendProxy backend_proxy_; 47 AppCacheBackendProxy backend_proxy_;
48 scoped_ptr<AppCacheFrontend> frontend_; 48 scoped_ptr<AppCacheFrontend> frontend_;
49 }; 49 };
50 50
51 } // namespace content 51 } // namespace content
52 52
53 #endif // CONTENT_CHILD_APPCACHE_APPCACHE_DISPATCHER_H_ 53 #endif // CONTENT_CHILD_APPCACHE_APPCACHE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/child/appcache/appcache_backend_proxy.h ('k') | content/child/appcache/appcache_frontend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698