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

Side by Side Diff: chrome/browser/platform_util_linux.cc

Issue 19631004: Update include paths in chrome/browser/ for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge ToT Created 7 years, 5 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 | 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/platform_util.h" 5 #include "chrome/browser/platform_util.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/process_util.h" 9 #include "base/process/kill.h"
10 #include "base/process/launch.h"
10 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
11 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
12 #include "url/gurl.h" 13 #include "url/gurl.h"
13 14
14 using content::BrowserThread; 15 using content::BrowserThread;
15 16
16 namespace { 17 namespace {
17 18
18 void XDGUtil(const std::string& util, const std::string& arg) { 19 void XDGUtil(const std::string& util, const std::string& arg) {
19 std::vector<std::string> argv; 20 std::vector<std::string> argv;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 } 80 }
80 81
81 void OpenExternal(const GURL& url) { 82 void OpenExternal(const GURL& url) {
82 if (url.SchemeIs("mailto")) 83 if (url.SchemeIs("mailto"))
83 XDGEmail(url.spec()); 84 XDGEmail(url.spec());
84 else 85 else
85 XDGOpen(url.spec()); 86 XDGOpen(url.spec());
86 } 87 }
87 88
88 } // namespace platform_util 89 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/performance_monitor/performance_monitor.cc ('k') | chrome/browser/plugins/plugin_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698