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

Side by Side Diff: base/trace_event/process_memory_totals_dump_provider_unittest.cc

Issue 981803003: base: Add/Fix namespace closing comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "base/trace_event/process_memory_totals_dump_provider.h" 5 #include "base/trace_event/process_memory_totals_dump_provider.h"
6 6
7 #include "base/trace_event/process_memory_dump.h" 7 #include "base/trace_event/process_memory_dump.h"
8 #include "base/trace_event/process_memory_totals.h" 8 #include "base/trace_event/process_memory_totals.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 const uint64 rss_before = pmd_before->process_totals()->resident_set_bytes(); 33 const uint64 rss_before = pmd_before->process_totals()->resident_set_bytes();
34 const uint64 rss_after = pmd_after->process_totals()->resident_set_bytes(); 34 const uint64 rss_after = pmd_after->process_totals()->resident_set_bytes();
35 35
36 EXPECT_NE(0U, rss_before); 36 EXPECT_NE(0U, rss_before);
37 EXPECT_NE(0U, rss_after); 37 EXPECT_NE(0U, rss_after);
38 38
39 EXPECT_EQ(rss_after - rss_before, kAllocSize); 39 EXPECT_EQ(rss_after - rss_before, kAllocSize);
40 } 40 }
41 41
42 } // namespace trace_Event 42 } // namespace trace_event
43 } // namespace base 43 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698