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

Side by Side Diff: content/common/appcache/appcache_backend_proxy.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
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_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ 5 #ifndef CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
6 #define CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ 6 #define CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "webkit/appcache/appcache_interfaces.h" 10 #include "webkit/appcache/appcache_interfaces.h"
11 11
12 // Sends appcache related messages to the main process. 12 // Sends appcache related messages to the main process.
13 class AppCacheBackendProxy : public appcache::AppCacheBackend { 13 class AppCacheBackendProxy : public appcache::AppCacheBackend {
14 public: 14 public:
15 explicit AppCacheBackendProxy(IPC::Message::Sender* sender) 15 explicit AppCacheBackendProxy(IPC::Message::Sender* sender)
16 : sender_(sender) {} 16 : sender_(sender) {}
17 17
18 IPC::Message::Sender* sender() const { return sender_; } 18 IPC::Message::Sender* sender() const { return sender_; }
19 19
20 // AppCacheBackend methods 20 // AppCacheBackend methods
21 virtual void RegisterHost(int host_id); 21 virtual void RegisterHost(int host_id) OVERRIDE;
22 virtual void UnregisterHost(int host_id); 22 virtual void UnregisterHost(int host_id) OVERRIDE;
23 virtual void SetSpawningHostId(int host_id, int spawning_host_id); 23 virtual void SetSpawningHostId(int host_id, int spawning_host_id) OVERRIDE;
24 virtual void SelectCache(int host_id, 24 virtual void SelectCache(int host_id,
25 const GURL& document_url, 25 const GURL& document_url,
26 const int64 cache_document_was_loaded_from, 26 const int64 cache_document_was_loaded_from,
27 const GURL& manifest_url); 27 const GURL& manifest_url) OVERRIDE;
28 virtual void SelectCacheForWorker( 28 virtual void SelectCacheForWorker(
29 int host_id, 29 int host_id,
30 int parent_process_id, 30 int parent_process_id,
31 int parent_host_id); 31 int parent_host_id) OVERRIDE;
32 virtual void SelectCacheForSharedWorker( 32 virtual void SelectCacheForSharedWorker(
33 int host_id, 33 int host_id,
34 int64 appcache_id); 34 int64 appcache_id) OVERRIDE;
35 virtual void MarkAsForeignEntry(int host_id, const GURL& document_url, 35 virtual void MarkAsForeignEntry(
36 int64 cache_document_was_loaded_from); 36 int host_id,
37 virtual appcache::Status GetStatus(int host_id); 37 const GURL& document_url,
38 virtual bool StartUpdate(int host_id); 38 int64 cache_document_was_loaded_from) OVERRIDE;
39 virtual bool SwapCache(int host_id); 39 virtual appcache::Status GetStatus(int host_id) OVERRIDE;
40 virtual bool StartUpdate(int host_id) OVERRIDE;
41 virtual bool SwapCache(int host_id) OVERRIDE;
40 virtual void GetResourceList( 42 virtual void GetResourceList(
41 int host_id, 43 int host_id,
42 std::vector<appcache::AppCacheResourceInfo>* resource_infos); 44 std::vector<appcache::AppCacheResourceInfo>* resource_infos) OVERRIDE;
43 45
44 private: 46 private:
45 IPC::Message::Sender* sender_; 47 IPC::Message::Sender* sender_;
46 }; 48 };
47 49
48 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ 50 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_process_host.h ('k') | content/common/appcache/appcache_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698