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

Side by Side Diff: chrome/app/breakpad_field_trial_win.cc

Issue 16320010: Use a direct include of strings headers in chrome/app/. (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 | « chrome/app/breakpad_field_trial_win.h ('k') | chrome/app/breakpad_linux.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/app/breakpad_field_trial_win.h" 5 #include "chrome/app/breakpad_field_trial_win.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/string_util.h" 8 #include "base/strings/string16.h"
9 #include "base/string16.h" 9 #include "base/strings/string_util.h"
10 #include "base/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "breakpad/src/client/windows/common/ipc_protocol.h" 11 #include "breakpad/src/client/windows/common/ipc_protocol.h"
12 #include "chrome/app/breakpad_win.h" 12 #include "chrome/app/breakpad_win.h"
13 #include "chrome/common/child_process_logging.h" 13 #include "chrome/common/child_process_logging.h"
14 14
15 // Sets the breakpad experiment chunks for crash reporting. |chunks| is an 15 // Sets the breakpad experiment chunks for crash reporting. |chunks| is an
16 // array of C strings of size |chunk_size| containing the values to set, where 16 // array of C strings of size |chunk_size| containing the values to set, where
17 // each entry may contain multiple experiment tuples, with the total number of 17 // each entry may contain multiple experiment tuples, with the total number of
18 // experiments indicated by |experiments_chunks|. 18 // experiments indicated by |experiments_chunks|.
19 // Note that this is suffixed with "3" due to parameter changes that were made 19 // Note that this is suffixed with "3" due to parameter changes that were made
20 // to the predecessor functions. If the signature changes again, use a new name. 20 // to the predecessor functions. If the signature changes again, use a new name.
(...skipping 28 matching lines...) Expand all
49 namespace testing { 49 namespace testing {
50 50
51 void SetExperimentChunks(const std::vector<string16>& chunks, 51 void SetExperimentChunks(const std::vector<string16>& chunks,
52 size_t experiments_count) { 52 size_t experiments_count) {
53 std::vector<const wchar_t*> cstrings; 53 std::vector<const wchar_t*> cstrings;
54 StringVectorToCStringVector(chunks, &cstrings); 54 StringVectorToCStringVector(chunks, &cstrings);
55 ::SetExperimentList3(&cstrings[0], cstrings.size(), experiments_count); 55 ::SetExperimentList3(&cstrings[0], cstrings.size(), experiments_count);
56 } 56 }
57 57
58 } // namespace testing 58 } // namespace testing
OLDNEW
« no previous file with comments | « chrome/app/breakpad_field_trial_win.h ('k') | chrome/app/breakpad_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698