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

Side by Side Diff: rlz/lib/rlz_lib.cc

Issue 16358024: Use a direct include of strings headers in rlz/, sandbox/, skia/, sql/, sync/. (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 | « rlz/lib/machine_id_unittest.cc ('k') | rlz/mac/lib/machine_id_mac.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 // A library to manage RLZ information for access-points shared 5 // A library to manage RLZ information for access-points shared
6 // across different client applications. 6 // across different client applications.
7 7
8 #include "rlz/lib/rlz_lib.h" 8 #include "rlz/lib/rlz_lib.h"
9 9
10 #include "base/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/stringprintf.h" 11 #include "base/strings/stringprintf.h"
12 #include "rlz/lib/assert.h" 12 #include "rlz/lib/assert.h"
13 #include "rlz/lib/crc32.h" 13 #include "rlz/lib/crc32.h"
14 #include "rlz/lib/financial_ping.h" 14 #include "rlz/lib/financial_ping.h"
15 #include "rlz/lib/lib_values.h" 15 #include "rlz/lib/lib_values.h"
16 #include "rlz/lib/rlz_value_store.h" 16 #include "rlz/lib/rlz_value_store.h"
17 #include "rlz/lib/string_utils.h" 17 #include "rlz/lib/string_utils.h"
18 18
19 namespace { 19 namespace {
20 20
21 // Event information returned from ping response. 21 // Event information returned from ping response.
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 if (cgi_string.size() >= cgi_size) 642 if (cgi_string.size() >= cgi_size)
643 return false; 643 return false;
644 644
645 strncpy(cgi, cgi_string.c_str(), cgi_size); 645 strncpy(cgi, cgi_string.c_str(), cgi_size);
646 cgi[cgi_size - 1] = 0; 646 cgi[cgi_size - 1] = 0;
647 647
648 return true; 648 return true;
649 } 649 }
650 650
651 } // namespace rlz_lib 651 } // namespace rlz_lib
OLDNEW
« no previous file with comments | « rlz/lib/machine_id_unittest.cc ('k') | rlz/mac/lib/machine_id_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698