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

Side by Side Diff: chrome/browser/extensions/api/processes/processes_api.h

Issue 10918229: Upstream processes_api.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 3 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 | chrome/browser/extensions/api/processes/processes_api.cc » ('j') | 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_PROCESSES_PROCESSES_API_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_H__
6 #define CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_H__ 6 #define CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_H__
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 virtual void Observe(int type, 165 virtual void Observe(int type,
166 const content::NotificationSource& source, 166 const content::NotificationSource& source,
167 const content::NotificationDetails& details) OVERRIDE; 167 const content::NotificationDetails& details) OVERRIDE;
168 168
169 void GatherProcessInfo(); 169 void GatherProcessInfo();
170 170
171 content::NotificationRegistrar registrar_; 171 content::NotificationRegistrar registrar_;
172 172
173 // Member variables to store the function parameters 173 // Member variables to store the function parameters
174 std::vector<int> process_ids_; 174 std::vector<int> process_ids_;
175 #if defined(ENABLE_TASK_MANAGER)
175 bool memory_; 176 bool memory_;
177 #endif
176 178
177 DECLARE_EXTENSION_FUNCTION_NAME("experimental.processes.getProcessInfo") 179 DECLARE_EXTENSION_FUNCTION_NAME("experimental.processes.getProcessInfo")
178 }; 180 };
179 181
180 } // namespace extensions 182 } // namespace extensions
181 183
182 #endif // CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_H__ 184 #endif // CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/processes/processes_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698