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

Side by Side Diff: chrome/browser/service/service_process_control.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ 5 #ifndef CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_
6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ 6 #define CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // IPC::Channel::Listener implementation. 70 // IPC::Channel::Listener implementation.
71 virtual bool OnMessageReceived(const IPC::Message& message); 71 virtual bool OnMessageReceived(const IPC::Message& message);
72 virtual void OnChannelConnected(int32 peer_pid); 72 virtual void OnChannelConnected(int32 peer_pid);
73 virtual void OnChannelError(); 73 virtual void OnChannelError();
74 74
75 // IPC::Channel::Sender implementation 75 // IPC::Channel::Sender implementation
76 virtual bool Send(IPC::Message* message); 76 virtual bool Send(IPC::Message* message);
77 77
78 // NotificationObserver implementation. 78 // NotificationObserver implementation.
79 virtual void Observe(NotificationType type, 79 virtual void Observe(int type,
80 const NotificationSource& source, 80 const NotificationSource& source,
81 const NotificationDetails& details); 81 const NotificationDetails& details);
82 82
83 // Message handlers 83 // Message handlers
84 void OnCloudPrintProxyInfo( 84 void OnCloudPrintProxyInfo(
85 const cloud_print::CloudPrintProxyInfo& proxy_info); 85 const cloud_print::CloudPrintProxyInfo& proxy_info);
86 86
87 // Send a shutdown message to the service process. IPC channel will be 87 // Send a shutdown message to the service process. IPC channel will be
88 // destroyed after calling this method. 88 // destroyed after calling this method.
89 // Return true if the message was sent. 89 // Return true if the message was sent.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 TaskList connect_failure_tasks_; 158 TaskList connect_failure_tasks_;
159 159
160 // Callback that gets invoked when a status message is received from 160 // Callback that gets invoked when a status message is received from
161 // the cloud print proxy. 161 // the cloud print proxy.
162 scoped_ptr<CloudPrintProxyInfoHandler> cloud_print_info_callback_; 162 scoped_ptr<CloudPrintProxyInfoHandler> cloud_print_info_callback_;
163 163
164 NotificationRegistrar registrar_; 164 NotificationRegistrar registrar_;
165 }; 165 };
166 166
167 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_ 167 #endif // CHROME_BROWSER_SERVICE_SERVICE_PROCESS_CONTROL_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service_unittest.cc ('k') | chrome/browser/service/service_process_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698