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

Side by Side Diff: content/browser/appcache/appcache_frontend_proxy.h

Issue 631773003: Replacing the OVERRIDE with override and FINAL with final in content/browser/appcache (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "content/common/appcache_interfaces.h" 11 #include "content/common/appcache_interfaces.h"
12 #include "ipc/ipc_sender.h" 12 #include "ipc/ipc_sender.h"
13 13
14 namespace content { 14 namespace content {
15 15
16 // Sends appcache related messages to a child process. 16 // Sends appcache related messages to a child process.
17 class AppCacheFrontendProxy : public AppCacheFrontend { 17 class AppCacheFrontendProxy : public AppCacheFrontend {
18 public: 18 public:
19 explicit AppCacheFrontendProxy(IPC::Sender* sender); 19 explicit AppCacheFrontendProxy(IPC::Sender* sender);
20 20
21 // AppCacheFrontend methods 21 // AppCacheFrontend methods
22 virtual void OnCacheSelected(int host_id, 22 virtual void OnCacheSelected(int host_id,
23 const AppCacheInfo& info) OVERRIDE; 23 const AppCacheInfo& info) override;
24 virtual void OnStatusChanged(const std::vector<int>& host_ids, 24 virtual void OnStatusChanged(const std::vector<int>& host_ids,
25 AppCacheStatus status) OVERRIDE; 25 AppCacheStatus status) override;
26 virtual void OnEventRaised(const std::vector<int>& host_ids, 26 virtual void OnEventRaised(const std::vector<int>& host_ids,
27 AppCacheEventID event_id) OVERRIDE; 27 AppCacheEventID event_id) override;
28 virtual void OnProgressEventRaised(const std::vector<int>& host_ids, 28 virtual void OnProgressEventRaised(const std::vector<int>& host_ids,
29 const GURL& url, 29 const GURL& url,
30 int num_total, int num_complete) OVERRIDE; 30 int num_total, int num_complete) override;
31 virtual void OnErrorEventRaised(const std::vector<int>& host_ids, 31 virtual void OnErrorEventRaised(const std::vector<int>& host_ids,
32 const AppCacheErrorDetails& details) 32 const AppCacheErrorDetails& details)
33 OVERRIDE; 33 override;
34 virtual void OnLogMessage(int host_id, AppCacheLogLevel log_level, 34 virtual void OnLogMessage(int host_id, AppCacheLogLevel log_level,
35 const std::string& message) OVERRIDE; 35 const std::string& message) override;
36 virtual void OnContentBlocked(int host_id, 36 virtual void OnContentBlocked(int host_id,
37 const GURL& manifest_url) OVERRIDE; 37 const GURL& manifest_url) override;
38 38
39 private: 39 private:
40 IPC::Sender* sender_; 40 IPC::Sender* sender_;
41 }; 41 };
42 42
43 } // namespace content 43 } // namespace content
44 44
45 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_ 45 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_FRONTEND_PROXY_H_
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_dispatcher_host.h ('k') | content/browser/appcache/appcache_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698