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

Side by Side Diff: chrome/browser/chromeos/arc/process/arc_process.cc

Issue 2441563002: arc: Create intermediate directories in c/b/c/arc (Closed)
Patch Set: Re-rebase to ToT Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "chrome/browser/chromeos/arc/arc_process.h" 5 #include "chrome/browser/chromeos/arc/process/arc_process.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 namespace arc { 9 namespace arc {
10 10
11 ArcProcess::ArcProcess(base::ProcessId nspid, 11 ArcProcess::ArcProcess(base::ProcessId nspid,
12 base::ProcessId pid, 12 base::ProcessId pid,
13 const std::string& process_name, 13 const std::string& process_name,
14 mojom::ProcessState process_state, 14 mojom::ProcessState process_state,
15 bool is_focused, 15 bool is_focused,
(...skipping 12 matching lines...) Expand all
28 // Larger last_activity_time means more recently used. 28 // Larger last_activity_time means more recently used.
29 bool ArcProcess::operator<(const ArcProcess& rhs) const { 29 bool ArcProcess::operator<(const ArcProcess& rhs) const {
30 return std::make_pair(process_state(), -last_activity_time()) < 30 return std::make_pair(process_state(), -last_activity_time()) <
31 std::make_pair(rhs.process_state(), -rhs.last_activity_time()); 31 std::make_pair(rhs.process_state(), -rhs.last_activity_time());
32 } 32 }
33 33
34 ArcProcess::ArcProcess(ArcProcess&& other) = default; 34 ArcProcess::ArcProcess(ArcProcess&& other) = default;
35 ArcProcess& ArcProcess::operator=(ArcProcess&& other) = default; 35 ArcProcess& ArcProcess::operator=(ArcProcess&& other) = default;
36 36
37 } // namespace arc 37 } // namespace arc
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/process/arc_process.h ('k') | chrome/browser/chromeos/arc/process/arc_process_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698