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

Side by Side Diff: chrome/browser/chromeos/system_logs/dbus_log_source.h

Issue 11363173: Add DBusStatistics and DBusLogSource to log and show dbus stats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 1 month 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) 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_CHROMEOS_SYSTEM_LOGS_MEMORY_DETAILS_LOG_SOURCE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DBUS_LOG_SOURCE_H_
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_MEMORY_DETAILS_LOG_SOURCE_H_ 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DBUS_LOG_SOURCE_H_
7 7
8 #include "chrome/browser/chromeos/system_logs/system_logs_fetcher.h" 8 #include "chrome/browser/chromeos/system_logs/system_logs_fetcher.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 // Fetches memory usage details. 12 // Fetches memory usage details.
13 class MemoryDetailsLogSource : public SystemLogsSource { 13 class DbusLogSource : public SystemLogsSource {
satorux1 2012/11/13 04:11:06 Dbus -> DBus to be consistent with stuff in src/db
stevenjb 2012/11/13 19:54:15 Done.
14 public: 14 public:
15 MemoryDetailsLogSource() {} 15 DbusLogSource() {}
16 virtual ~MemoryDetailsLogSource() {} 16 virtual ~DbusLogSource() {}
17 17
18 // SystemLogsSource override. 18 // SystemLogsSource override.
19 virtual void Fetch(const SysLogsSourceCallback& request) OVERRIDE; 19 virtual void Fetch(const SysLogsSourceCallback& request) OVERRIDE;
20 20
21 private: 21 private:
22 DISALLOW_COPY_AND_ASSIGN(MemoryDetailsLogSource); 22 DISALLOW_COPY_AND_ASSIGN(DbusLogSource);
23 }; 23 };
24 24
25 } // namespace chromeos 25 } // namespace chromeos
26 26
27 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_MEMORY_DETAILS_LOG_SOURCE_H_ 27 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_LOGS_DBUS_LOG_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698