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

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

Issue 2691263002: Revert of Remove header dependencies from sequence_checker.h to sequenced_worker_pool.h (Closed)
Patch Set: Created 3 years, 10 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
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/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/process/kill.h" 10 #include "base/process/kill.h"
11 #include "base/process/launch.h" 11 #include "base/process/launch.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/threading/sequenced_worker_pool.h"
15 #include "base/version.h" 14 #include "base/version.h"
16 #include "chrome/browser/platform_util_internal.h" 15 #include "chrome/browser/platform_util_internal.h"
17 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
18 #include "url/gurl.h" 17 #include "url/gurl.h"
19 18
20 using content::BrowserThread; 19 using content::BrowserThread;
21 20
22 namespace platform_util { 21 namespace platform_util {
23 22
24 namespace { 23 namespace {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 167
169 void OpenExternal(Profile* profile, const GURL& url) { 168 void OpenExternal(Profile* profile, const GURL& url) {
170 DCHECK_CURRENTLY_ON(BrowserThread::UI); 169 DCHECK_CURRENTLY_ON(BrowserThread::UI);
171 if (url.SchemeIs("mailto")) 170 if (url.SchemeIs("mailto"))
172 XDGEmail(url.spec()); 171 XDGEmail(url.spec());
173 else 172 else
174 XDGOpen(base::FilePath(), url.spec()); 173 XDGOpen(base::FilePath(), url.spec());
175 } 174 }
176 175
177 } // namespace platform_util 176 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/ntp_tiles/chrome_popular_sites_factory.cc ('k') | chrome/browser/policy/cloud/test_request_interceptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698