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

Side by Side Diff: chrome/browser/chromeos/system_logs/lsb_release_log_source.cc

Issue 12378016: chrome: Update include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « chrome/browser/chromeos/preferences.cc ('k') | chrome/browser/chromeos/version_loader.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) 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 "chrome/browser/chromeos/system_logs/lsb_release_log_source.h" 5 #include "chrome/browser/chromeos/system_logs/lsb_release_log_source.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/string_split.h"
15 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/strings/string_split.h"
16 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
17 17
18 using content::BrowserThread; 18 using content::BrowserThread;
19 19
20 namespace { 20 namespace {
21 21
22 const char kInvalidLogEntry[] = "<invalid characters in log entry>"; 22 const char kInvalidLogEntry[] = "<invalid characters in log entry>";
23 const char kEmptyLogEntry[] = "<no value>"; 23 const char kEmptyLogEntry[] = "<no value>";
24 24
25 typedef std::pair<std::string, std::string> KeyValuePair; 25 typedef std::pair<std::string, std::string> KeyValuePair;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 if (value.empty()) 74 if (value.empty())
75 (*response)[key] = kEmptyLogEntry; 75 (*response)[key] = kEmptyLogEntry;
76 else 76 else
77 (*response)[key] = value; 77 (*response)[key] = value;
78 } 78 }
79 } 79 }
80 80
81 } // namespace chromeos 81 } // namespace chromeos
82 82
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/preferences.cc ('k') | chrome/browser/chromeos/version_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698