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

Side by Side Diff: components/feedback/feedback_common.cc

Issue 1530403003: Add anonymizer tool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved location of scrubbing Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "feedback_common.h" 5 #include "components/feedback/feedback_common.h"
6 6
7 #include "base/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "components/feedback/proto/common.pb.h" 8 #include "components/feedback/proto/common.pb.h"
9 #include "components/feedback/proto/dom.pb.h" 9 #include "components/feedback/proto/dom.pb.h"
10 #include "components/feedback/proto/extension.pb.h" 10 #include "components/feedback/proto/extension.pb.h"
11 #include "components/feedback/proto/math.pb.h" 11 #include "components/feedback/proto/math.pb.h"
12 12
13 namespace { 13 namespace {
14 14
15 const char kMultilineIndicatorString[] = "<multiline>\n"; 15 const char kMultilineIndicatorString[] = "<multiline>\n";
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 205
206 *(screenshot.mutable_dimensions()) = dimensions; 206 *(screenshot.mutable_dimensions()) = dimensions;
207 screenshot.set_binary_content(*image()); 207 screenshot.set_binary_content(*image());
208 208
209 *(feedback_data->mutable_screenshot()) = screenshot; 209 *(feedback_data->mutable_screenshot()) = screenshot;
210 } 210 }
211 211
212 if (category_tag().size()) 212 if (category_tag().size())
213 feedback_data->set_bucket(category_tag()); 213 feedback_data->set_bucket(category_tag());
214 } 214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698