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

Side by Side Diff: base/process/process_info_unittest.cc

Issue 2903323002: fuchsia: Don't reference CurrentProcessInfo::CreationTime() (Closed)
Patch Set: fix comment Created 3 years, 7 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
« no previous file with comments | « no previous file | base/trace_event/trace_log.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/process/process_info.h" 5 #include "base/process/process_info.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace base { 11 namespace base {
12 12
13 #if !defined(OS_IOS) 13 // See https://crbug.com/726484 for Fuchsia.
14 #if !defined(OS_IOS) && !defined(OS_FUCHSIA)
14 TEST(ProcessInfoTest, CreationTime) { 15 TEST(ProcessInfoTest, CreationTime) {
15 Time creation_time = CurrentProcessInfo::CreationTime(); 16 Time creation_time = CurrentProcessInfo::CreationTime();
16 ASSERT_FALSE(creation_time.is_null()); 17 ASSERT_FALSE(creation_time.is_null());
17 } 18 }
18 #endif // !defined(OS_IOS) 19 #endif // !defined(OS_IOS) && !defined(OS_FUCHSIA)
19 20
20 } // namespace base 21 } // namespace base
OLDNEW
« no previous file with comments | « no previous file | base/trace_event/trace_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698