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

Side by Side Diff: chromeos/network/network_event_log.cc

Issue 16739011: Use a direct include of strings headers in chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « chromeos/network/network_event_log.h ('k') | chromeos/network/network_event_log_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) 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 "chromeos/network/network_event_log.h" 5 #include "chromeos/network/network_event_log.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/i18n/time_formatting.h" 10 #include "base/i18n/time_formatting.h"
11 #include "base/json/json_writer.h" 11 #include "base/json/json_writer.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/stringprintf.h"
15 #include "base/strings/string_tokenizer.h" 14 #include "base/strings/string_tokenizer.h"
15 #include "base/strings/stringprintf.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "net/base/escape.h" 18 #include "net/base/escape.h"
19 19
20 namespace chromeos { 20 namespace chromeos {
21 namespace network_event_log { 21 namespace network_event_log {
22 22
23 namespace { 23 namespace {
24 24
25 class NetworkEventLog; 25 class NetworkEventLog;
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 327
328 std::string ValueAsString(const base::Value& value) { 328 std::string ValueAsString(const base::Value& value) {
329 std::string vstr; 329 std::string vstr;
330 base::JSONWriter::WriteWithOptions( 330 base::JSONWriter::WriteWithOptions(
331 &value, base::JSONWriter::OPTIONS_OMIT_BINARY_VALUES, &vstr); 331 &value, base::JSONWriter::OPTIONS_OMIT_BINARY_VALUES, &vstr);
332 return vstr.empty() ? "''" : vstr; 332 return vstr.empty() ? "''" : vstr;
333 } 333 }
334 334
335 } // namespace network_event_log 335 } // namespace network_event_log
336 } // namespace chromeos 336 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_event_log.h ('k') | chromeos/network/network_event_log_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698