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

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

Issue 9953002: The me2me host is now configurable from the web UI on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback Created 8 years, 8 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 "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 16 matching lines...) Expand all
27 FILE_PATH_LITERAL("Chrome Remote Desktop"); 27 FILE_PATH_LITERAL("Chrome Remote Desktop");
28 #else 28 #else
29 const FilePath::CharType kConfigDir[] = 29 const FilePath::CharType kConfigDir[] =
30 FILE_PATH_LITERAL(".config/chrome-remote-desktop"); 30 FILE_PATH_LITERAL(".config/chrome-remote-desktop");
31 #endif 31 #endif
32 32
33 } // namespace 33 } // namespace
34 34
35 namespace remoting { 35 namespace remoting {
36 36
37 #if defined(OS_WIN)
38 const char kWindowsServiceName[] = "chromoting";
39 #endif
40
37 FilePath GetConfigDir() { 41 FilePath GetConfigDir() {
38 FilePath app_data_dir; 42 FilePath app_data_dir;
39 43
40 #if defined(OS_WIN) 44 #if defined(OS_WIN)
41 PathService::Get(base::DIR_LOCAL_APP_DATA, &app_data_dir); 45 PathService::Get(base::DIR_LOCAL_APP_DATA, &app_data_dir);
42 #elif defined(OS_MACOSX) 46 #elif defined(OS_MACOSX)
43 PathService::Get(base::DIR_APP_DATA, &app_data_dir); 47 PathService::Get(base::DIR_APP_DATA, &app_data_dir);
44 #else 48 #else
45 app_data_dir = file_util::GetHomeDir(); 49 app_data_dir = file_util::GetHomeDir();
46 #endif 50 #endif
47 51
48 return app_data_dir.Append(kConfigDir); 52 return app_data_dir.Append(kConfigDir);
49 } 53 }
50 54
51 } // namespace remoting 55 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698