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

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

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/gtk_util.h"
10 #include "base/file_util.h" 9 #include "base/file_util.h"
11 #include "base/process_util.h" 10 #include "base/process_util.h"
12 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
13 #include "chrome/common/process_watcher.h" 12 #include "chrome/common/process_watcher.h"
14 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
15 14
16 namespace { 15 namespace {
17 16
18 void XDGOpen(const std::string& path) { 17 void XDGOpen(const std::string& path) {
19 std::vector<std::string> argv; 18 std::vector<std::string> argv;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 58
60 void OpenItem(const FilePath& full_path) { 59 void OpenItem(const FilePath& full_path) {
61 XDGOpen(full_path.value()); 60 XDGOpen(full_path.value());
62 } 61 }
63 62
64 void OpenExternal(const GURL& url) { 63 void OpenExternal(const GURL& url) {
65 XDGOpen(url.spec()); 64 XDGOpen(url.spec());
66 } 65 }
67 66
68 } // namespace platform_util 67 } // namespace platform_util
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_manager.cc ('k') | chrome/browser/possible_url_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698