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

Side by Side Diff: chrome/browser/android/crash_dump_manager.cc

Issue 11293210: Move global_descriptors to base/posix. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/android/crash_dump_manager.h" 5 #include "chrome/browser/android/crash_dump_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/global_descriptors_posix.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/posix/global_descriptors.h"
13 #include "base/process.h" 13 #include "base/process.h"
14 #include "base/rand_util.h" 14 #include "base/rand_util.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
17 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
18 #include "chrome/common/descriptors_android.h" 18 #include "chrome/common/descriptors_android.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 #include "content/public/browser/child_process_data.h" 20 #include "content/public/browser/child_process_data.h"
21 #include "content/public/browser/file_descriptor_info.h" 21 #include "content/public/browser/file_descriptor_info.h"
22 #include "content/public/browser/notification_service.h" 22 #include "content/public/browser/notification_service.h"
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // NOTIFICATION_RENDERER_PROCESS_CLOSED. 150 // NOTIFICATION_RENDERER_PROCESS_CLOSED.
151 return; 151 return;
152 } 152 }
153 minidump_path = iter->second; 153 minidump_path = iter->second;
154 child_process_id_to_minidump_path_.erase(iter); 154 child_process_id_to_minidump_path_.erase(iter);
155 } 155 }
156 BrowserThread::PostTask( 156 BrowserThread::PostTask(
157 BrowserThread::FILE, FROM_HERE, 157 BrowserThread::FILE, FROM_HERE,
158 base::Bind(&CrashDumpManager::ProcessMinidump, minidump_path, pid)); 158 base::Bind(&CrashDumpManager::ProcessMinidump, minidump_path, pid));
159 } 159 }
OLDNEW
« no previous file with comments | « chrome/app/breakpad_linux.cc ('k') | chrome/browser/printing/cloud_print/test/cloud_print_proxy_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698