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

Side by Side Diff: chromeos/system/version_loader.cc

Issue 799683003: Move chromeos::version_loader to src/chromeos/system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « chromeos/system/version_loader.h ('k') | chromeos/system/version_loader_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/chromeos/version_loader.h" 5 #include "chromeos/system/version_loader.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/strings/string_split.h" 12 #include "base/strings/string_split.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
15 #include "base/sys_info.h" 15 #include "base/sys_info.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 size_t found = str.find_first_not_of("| "); 83 size_t found = str.find_first_not_of("| ");
84 if (found != std::string::npos) 84 if (found != std::string::npos)
85 return str.substr(found); 85 return str.substr(found);
86 } 86 }
87 } 87 }
88 return std::string(); 88 return std::string();
89 } 89 }
90 90
91 } // namespace version_loader 91 } // namespace version_loader
92 } // namespace chromeos 92 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/system/version_loader.h ('k') | chromeos/system/version_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698