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

Side by Side Diff: components/translate/core/common/translation_logging_helper.h

Issue 2913593002: Implementation of translation event logging. (Closed)
Patch Set: fix Created 3 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
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATION_LOGGING_HELPER_H_
6 #define COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATION_LOGGING_HELPER_H_
7
8 namespace metrics {
9 class TranslateEventProto;
10 }
11
12 namespace sync_pb {
13 class UserEventSpecifics;
14 }
15
16 namespace translate {
17
18 // Construct the sync_pb::Translation proto.
19 // If the event is the event that we care about, will return true, otherwise,
20 // will return false.
21 bool ConstructTranslateEvent(
22 const metrics::TranslateEventProto& translate_event,
23 sync_pb::UserEventSpecifics* const specifics);
24 } // namespace translate
25
26 #endif // COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATION_LOGGING_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698