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

Side by Side Diff: chrome/browser/extensions/api/push_messaging/push_messaging_api.h

Issue 11794006: [Clean up] Remove unused PushMessagingAPI class member function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_API_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_API_H__
6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_API_H__ 6 #define CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_API_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 // Convenience method to get the PushMessagingAPI for a profile. 111 // Convenience method to get the PushMessagingAPI for a profile.
112 static PushMessagingAPI* Get(Profile* profile); 112 static PushMessagingAPI* Get(Profile* profile);
113 113
114 // ProfileKeyedService implementation. 114 // ProfileKeyedService implementation.
115 virtual void Shutdown() OVERRIDE; 115 virtual void Shutdown() OVERRIDE;
116 116
117 // For testing purposes. 117 // For testing purposes.
118 PushMessagingEventRouter* GetEventRouterForTest(); 118 PushMessagingEventRouter* GetEventRouterForTest();
119 119
120 private: 120 private:
121 void InitializeEventRouter();
122
123 // Created at ExtensionService startup. 121 // Created at ExtensionService startup.
124 scoped_ptr<PushMessagingEventRouter> push_messaging_event_router_; 122 scoped_ptr<PushMessagingEventRouter> push_messaging_event_router_;
125 123
126 DISALLOW_COPY_AND_ASSIGN(PushMessagingAPI); 124 DISALLOW_COPY_AND_ASSIGN(PushMessagingAPI);
127 }; 125 };
128 126
129 } // namespace extension 127 } // namespace extension
130 128
131 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_API_H__ 129 #endif // CHROME_BROWSER_EXTENSIONS_API_PUSH_MESSAGING_PUSH_MESSAGING_API_H__
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698