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

Unified Diff: chrome/browser/performance_monitor/performance_monitor_util.h

Issue 10987040: Fix CPM casting issue; refactor renderer crash events (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Nit fixes, latest master Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/performance_monitor/performance_monitor_util.h
diff --git a/chrome/browser/performance_monitor/performance_monitor_util.h b/chrome/browser/performance_monitor/performance_monitor_util.h
index 1276d8296ed74e67b47db3fbe163b340872f2718..b1052db96a59a517aa3eb9623d83fe16dee418de 100644
--- a/chrome/browser/performance_monitor/performance_monitor_util.h
+++ b/chrome/browser/performance_monitor/performance_monitor_util.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H_
-#define CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H_
+#ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_UTIL_H_
+#define CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_UTIL_H_
#include "base/callback.h"
#include "base/time.h"
@@ -37,11 +37,9 @@ scoped_ptr<Event> CreateExtensionEvent(const EventType type,
const std::string& version,
const std::string& description);
-scoped_ptr<Event> CreateRendererFreezeEvent(const base::Time& time,
- const std::string& url);
-
-scoped_ptr<Event> CreateCrashEvent(const base::Time& time,
- const EventType& type);
+scoped_ptr<Event> CreateRendererFailureEvent(const base::Time& time,
+ const EventType& type,
+ const std::string& url);
scoped_ptr<Event> CreateUncleanExitEvent(const base::Time& time,
const std::string& profile_name);
@@ -53,4 +51,4 @@ scoped_ptr<Event> CreateChromeUpdateEvent(const base::Time& time,
} // namespace util
} // namespace performance_monitor
-#endif // CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H__
+#endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698