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

Side by Side Diff: remoting/host/branding.cc

Issue 93263002: Move some more file utils to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 "remoting/host/branding.h" 5 #include "remoting/host/branding.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 9
10 namespace { 10 namespace {
(...skipping 28 matching lines...) Expand all
39 #endif 39 #endif
40 40
41 base::FilePath GetConfigDir() { 41 base::FilePath GetConfigDir() {
42 base::FilePath app_data_dir; 42 base::FilePath app_data_dir;
43 43
44 #if defined(OS_WIN) 44 #if defined(OS_WIN)
45 PathService::Get(base::DIR_COMMON_APP_DATA, &app_data_dir); 45 PathService::Get(base::DIR_COMMON_APP_DATA, &app_data_dir);
46 #elif defined(OS_MACOSX) 46 #elif defined(OS_MACOSX)
47 PathService::Get(base::DIR_APP_DATA, &app_data_dir); 47 PathService::Get(base::DIR_APP_DATA, &app_data_dir);
48 #else 48 #else
49 app_data_dir = file_util::GetHomeDir(); 49 app_data_dir = base::GetHomeDir();
50 #endif 50 #endif
51 51
52 return app_data_dir.Append(kConfigDir); 52 return app_data_dir.Append(kConfigDir);
53 } 53 }
54 54
55 } // namespace remoting 55 } // namespace remoting
OLDNEW
« no previous file with comments | « printing/backend/cups_helper.cc ('k') | remoting/host/setup/daemon_controller_delegate_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698