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

Side by Side Diff: content/common/appcache/appcache_backend_proxy.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | 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
8 7
9 #include "ipc/ipc_sender.h" 8 #include "ipc/ipc_sender.h"
10 #include "webkit/appcache/appcache_interfaces.h" 9 #include "webkit/appcache/appcache_interfaces.h"
11 10
12 // Sends appcache related messages to the main process. 11 // Sends appcache related messages to the main process.
13 class AppCacheBackendProxy : public appcache::AppCacheBackend { 12 class AppCacheBackendProxy : public appcache::AppCacheBackend {
14 public: 13 public:
15 explicit AppCacheBackendProxy(IPC::Sender* sender) : sender_(sender) {} 14 explicit AppCacheBackendProxy(IPC::Sender* sender) : sender_(sender) {}
16 15
17 IPC::Sender* sender() const { return sender_; } 16 IPC::Sender* sender() const { return sender_; }
(...skipping 22 matching lines...) Expand all
40 virtual bool SwapCache(int host_id) OVERRIDE; 39 virtual bool SwapCache(int host_id) OVERRIDE;
41 virtual void GetResourceList( 40 virtual void GetResourceList(
42 int host_id, 41 int host_id,
43 std::vector<appcache::AppCacheResourceInfo>* resource_infos) OVERRIDE; 42 std::vector<appcache::AppCacheResourceInfo>* resource_infos) OVERRIDE;
44 43
45 private: 44 private:
46 IPC::Sender* sender_; 45 IPC::Sender* sender_;
47 }; 46 };
48 47
49 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_ 48 #endif // CONTENT_COMMON_APPCACHE_APPCACHE_BACKEND_PROXY_H_
OLDNEW
« no previous file with comments | « content/common/android/trace_event_binding.h ('k') | content/common/appcache/appcache_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698