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

Side by Side Diff: chrome/common/chrome_paths_linux.cc

Issue 42155: Remove logging.h from cc files that don't use it. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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
« no previous file with comments | « chrome/common/bzip2_unittest.cc ('k') | chrome/common/extensions/user_script_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/common/chrome_paths_internal.h" 5 #include "chrome/common/chrome_paths_internal.h"
6 6
7 #include <glib.h> 7 #include <glib.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/logging.h"
12 #include "base/path_service.h" 11 #include "base/path_service.h"
13 #include "chrome/third_party/xdg_user_dirs/xdg_user_dir_lookup.h" 12 #include "chrome/third_party/xdg_user_dirs/xdg_user_dir_lookup.h"
14 13
15 namespace { 14 namespace {
16 15
17 FilePath GetHomeDir() { 16 FilePath GetHomeDir() {
18 const char *home_dir = getenv("HOME"); 17 const char *home_dir = getenv("HOME");
19 18
20 if (home_dir && home_dir[0]) 19 if (home_dir && home_dir[0])
21 return FilePath(home_dir); 20 return FilePath(home_dir);
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 96
98 return true; 97 return true;
99 } 98 }
100 99
101 bool GetUserDesktop(FilePath* result) { 100 bool GetUserDesktop(FilePath* result) {
102 *result = GetXDGUserDirectory("DESKTOP", "Desktop"); 101 *result = GetXDGUserDirectory("DESKTOP", "Desktop");
103 return true; 102 return true;
104 } 103 }
105 104
106 } // namespace chrome 105 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/bzip2_unittest.cc ('k') | chrome/common/extensions/user_script_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698