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

Side by Side Diff: chrome/browser/chromeos/arc/process/arc_process_service.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 // The main point of this class is to cache ARC proc nspid<->pid mapping 5 // The main point of this class is to cache ARC proc nspid<->pid mapping
6 // globally. Since the calculation is costly, a dedicated worker thread is 6 // globally. Since the calculation is costly, a dedicated worker thread is
7 // used. All read/write of its internal data structure (i.e., the mapping) 7 // used. All read/write of its internal data structure (i.e., the mapping)
8 // should be on this thread. 8 // should be on this thread.
9 9
10 #include "chrome/browser/chromeos/arc/arc_process_service.h" 10 #include "chrome/browser/chromeos/arc/process/arc_process_service.h"
11 11
12 #include <algorithm> 12 #include <algorithm>
13 #include <queue> 13 #include <queue>
14 #include <string> 14 #include <string>
15 #include <unordered_map> 15 #include <unordered_map>
16 #include <unordered_set> 16 #include <unordered_set>
17 #include <utility> 17 #include <utility>
18 18
19 #include "base/callback.h" 19 #include "base/callback.h"
20 #include "base/logging.h" 20 #include "base/logging.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 271
272 scoped_refptr<base::SingleThreadTaskRunner> ArcProcessService::GetTaskRunner() { 272 scoped_refptr<base::SingleThreadTaskRunner> ArcProcessService::GetTaskRunner() {
273 return heavy_task_thread_.task_runner(); 273 return heavy_task_thread_.task_runner();
274 } 274 }
275 275
276 inline ArcProcessService::NSPidToPidMap::NSPidToPidMap() {} 276 inline ArcProcessService::NSPidToPidMap::NSPidToPidMap() {}
277 277
278 inline ArcProcessService::NSPidToPidMap::~NSPidToPidMap() {} 278 inline ArcProcessService::NSPidToPidMap::~NSPidToPidMap() {}
279 279
280 } // namespace arc 280 } // namespace arc
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/process/arc_process_service.h ('k') | chrome/browser/chromeos/arc/tts/arc_tts_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698