Skip to content

Commit

Permalink
Add base:: qualifiers for FilePath uses.
Browse files Browse the repository at this point in the history
Fixing missed FilePath uses from http::crrev.com/183170
http://build.chromium.org/p/chromium.chrome/buildstatus?builder=Google%20Chrome%20Win&number=16539
http://build.chromium.org/p/chromium.chrome/buildstatus?builder=Google%20Chrome%20ChromeOS&number=49472
It seems like the bots aren't tree closers, so I'm fixing it live.

BUG=NONE
TEST=chromium.chrome builders pass compile.
TBR=brettw@chromium.org,jar@chromium.org

Review URL: https://codereview.chromium.org/12298030

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183187 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
msw@chromium.org committed Feb 19, 2013
1 parent 2b1cbc9 commit 17f11ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion remoting/host/desktop_process_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ int DesktopProcessMain(int argc, char** argv) {
// Mark the process as DPI-aware, so Windows won't scale coordinates in APIs.
// N.B. This API exists on Vista and above.
if (base::win::GetVersion() >= base::win::VERSION_VISTA) {
FilePath path(base::GetNativeLibraryName(UTF8ToUTF16("user32")));
base::FilePath path(base::GetNativeLibraryName(UTF8ToUTF16("user32")));
base::ScopedNativeLibrary user32(path);
CHECK(user32.is_valid());

Expand Down
2 changes: 1 addition & 1 deletion remoting/host/remoting_me2me_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ int HostProcessMain(int argc, char** argv) {
// Mark the process as DPI-aware, so Windows won't scale coordinates in APIs.
// N.B. This API exists on Vista and above.
if (base::win::GetVersion() >= base::win::VERSION_VISTA) {
FilePath path(base::GetNativeLibraryName(UTF8ToUTF16("user32")));
base::FilePath path(base::GetNativeLibraryName(UTF8ToUTF16("user32")));
base::ScopedNativeLibrary user32(path);
CHECK(user32.is_valid());

Expand Down
2 changes: 1 addition & 1 deletion remoting/host/win/daemon_process_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const wchar_t kUsageMessage[] =
const char* kCopiedSwitchNames[] = {
"host-config", "daemon-pipe", switches::kV, switches::kVModule };

void usage(const FilePath& program_name) {
void usage(const base::FilePath& program_name) {
LOG(INFO) << StringPrintf(kUsageMessage,
UTF16ToWide(program_name.value()).c_str());
}
Expand Down
6 changes: 3 additions & 3 deletions rlz/chromeos/lib/rlz_value_store_chromeos.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@ const base::FilePath::CharType kRLZLockFileName[] =
FILE_PATH_LITERAL("RLZ Data.lock");

// RLZ store path for testing.
FilePath g_testing_rlz_store_path_;
base::FilePath g_testing_rlz_store_path_;

// Returns file path of the RLZ storage.
FilePath GetRlzStorePath() {
base::FilePath GetRlzStorePath() {
return g_testing_rlz_store_path_.empty() ?
file_util::GetHomeDir().Append(kRLZDataFileName) :
g_testing_rlz_store_path_.Append(kRLZDataFileName);
}

// Returns file path of the RLZ storage lock file.
FilePath GetRlzStoreLockPath() {
base::FilePath GetRlzStoreLockPath() {
return g_testing_rlz_store_path_.empty() ?
file_util::GetHomeDir().Append(kRLZLockFileName) :
g_testing_rlz_store_path_.Append(kRLZLockFileName);
Expand Down

0 comments on commit 17f11ac

Please sign in to comment.