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

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

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « remoting/host/branding.h ('k') | remoting/host/cast_extension.h » ('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) 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/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "build/build_config.h"
9 10
10 namespace { 11 namespace {
11 12
12 // TODO(lambroslambrou): The default locations should depend on whether Chrome 13 // TODO(lambroslambrou): The default locations should depend on whether Chrome
13 // branding is enabled - this means also modifying the Python daemon script. 14 // branding is enabled - this means also modifying the Python daemon script.
14 // The actual location of the files is ultimately determined by the service 15 // The actual location of the files is ultimately determined by the service
15 // daemon and native messaging host - these defaults are only used in case the 16 // daemon and native messaging host - these defaults are only used in case the
16 // command-line switches are absent. 17 // command-line switches are absent.
17 #if defined(OS_WIN) 18 #if defined(OS_WIN)
18 #ifdef OFFICIAL_BUILD 19 #ifdef OFFICIAL_BUILD
(...skipping 27 matching lines...) Expand all
46 #elif defined(OS_MACOSX) 47 #elif defined(OS_MACOSX)
47 PathService::Get(base::DIR_APP_DATA, &app_data_dir); 48 PathService::Get(base::DIR_APP_DATA, &app_data_dir);
48 #else 49 #else
49 PathService::Get(base::DIR_HOME, &app_data_dir); 50 PathService::Get(base::DIR_HOME, &app_data_dir);
50 #endif 51 #endif
51 52
52 return app_data_dir.Append(kConfigDir); 53 return app_data_dir.Append(kConfigDir);
53 } 54 }
54 55
55 } // namespace remoting 56 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/branding.h ('k') | remoting/host/cast_extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698