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

Unified Diff: base/test/trace_event_analyzer_unittest.cc

Issue 8915024: Retry 114494 - Remove BindStateHolder and have Bind() return a Callback<> object directly." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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
« no previous file with comments | « base/debug/trace_event_unittest.cc ('k') | chrome/browser/chromeos/dbus/bluetooth_manager_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/trace_event_analyzer_unittest.cc
diff --git a/base/test/trace_event_analyzer_unittest.cc b/base/test/trace_event_analyzer_unittest.cc
index 602f139880332e92264932ef9013554fa7b0d2c1..18cf4cbb368935b8ad9b31cc83edb188ad68a509 100644
--- a/base/test/trace_event_analyzer_unittest.cc
+++ b/base/test/trace_event_analyzer_unittest.cc
@@ -15,7 +15,8 @@ class TraceEventAnalyzerTest : public testing::Test {
public:
void ManualSetUp();
void OnTraceDataCollected(
- scoped_refptr<base::debug::TraceLog::RefCountedString> json_events_str);
+ const scoped_refptr<base::debug::TraceLog::RefCountedString>&
+ json_events_str);
void BeginTracing();
void EndTracing();
@@ -35,7 +36,8 @@ void TraceEventAnalyzerTest::ManualSetUp() {
}
void TraceEventAnalyzerTest::OnTraceDataCollected(
- scoped_refptr<base::debug::TraceLog::RefCountedString> json_events_str) {
+ const scoped_refptr<base::debug::TraceLog::RefCountedString>&
+ json_events_str) {
buffer_.AddFragment(json_events_str->data);
}
@@ -758,4 +760,3 @@ TEST_F(TraceEventAnalyzerTest, CountMatches) {
} // namespace trace_analyzer
-
« no previous file with comments | « base/debug/trace_event_unittest.cc ('k') | chrome/browser/chromeos/dbus/bluetooth_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698