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

Side by Side Diff: chrome/common/app_cache/app_cache_dispatcher.h

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_COMMON_APP_CACHE_APP_CACHE_DISPATCHER_H_ 5 #ifndef CHROME_COMMON_APP_CACHE_APP_CACHE_DISPATCHER_H_
6 #define CHROME_COMMON_APP_CACHE_APP_CACHE_DISPATCHER_H_ 6 #define CHROME_COMMON_APP_CACHE_APP_CACHE_DISPATCHER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/common/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 10
11 // Dispatches app cache related messages sent to a child process from the 11 // Dispatches app cache related messages sent to a child process from the
12 // main browser process. There is one instance per child process. Messages 12 // main browser process. There is one instance per child process. Messages
13 // are dispatched on the main child thread. The ChildThread base class 13 // are dispatched on the main child thread. The ChildThread base class
14 // creates an instance and delegates calls to it. 14 // creates an instance and delegates calls to it.
15 class AppCacheDispatcher { 15 class AppCacheDispatcher {
16 public: 16 public:
17 bool OnMessageReceived(const IPC::Message& msg); 17 bool OnMessageReceived(const IPC::Message& msg);
18 18
19 private: 19 private:
20 // AppCacheContextImpl related messages 20 // AppCacheContextImpl related messages
21 void OnAppCacheSelected(int context_id, 21 void OnAppCacheSelected(int context_id,
22 int select_request_id, 22 int select_request_id,
23 int64 app_cache_id); 23 int64 app_cache_id);
24 }; 24 };
25 25
26 #endif // CHROME_COMMON_APP_CACHE_APP_CACHE_DISPATCHER_H_ 26 #endif // CHROME_COMMON_APP_CACHE_APP_CACHE_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/common/app_cache/app_cache_context_impl.h ('k') | chrome/common/app_cache/app_cache_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698