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

Side by Side Diff: components/sync/protocol/proto_visitors.h

Issue 2498053002: Add field to monitor last visited time for each search engine (Closed)
Patch Set: Add unit test for last_visited field. Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ 5 #ifndef COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_
6 #define COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ 6 #define COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_
7 7
8 #include "components/sync/protocol/app_list_specifics.pb.h" 8 #include "components/sync/protocol/app_list_specifics.pb.h"
9 #include "components/sync/protocol/app_notification_specifics.pb.h" 9 #include "components/sync/protocol/app_notification_specifics.pb.h"
10 #include "components/sync/protocol/app_setting_specifics.pb.h" 10 #include "components/sync/protocol/app_setting_specifics.pb.h"
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 VISIT(last_modified); 511 VISIT(last_modified);
512 VISIT(sync_guid); 512 VISIT(sync_guid);
513 VISIT_REP(alternate_urls); 513 VISIT_REP(alternate_urls);
514 VISIT(search_terms_replacement_key); 514 VISIT(search_terms_replacement_key);
515 VISIT(image_url); 515 VISIT(image_url);
516 VISIT(search_url_post_params); 516 VISIT(search_url_post_params);
517 VISIT(suggestions_url_post_params); 517 VISIT(suggestions_url_post_params);
518 VISIT(instant_url_post_params); 518 VISIT(instant_url_post_params);
519 VISIT(image_url_post_params); 519 VISIT(image_url_post_params);
520 VISIT(new_tab_url); 520 VISIT(new_tab_url);
521 VISIT(last_visited);
521 } 522 }
522 523
523 VISIT_PROTO_FIELDS(const sync_pb::SessionSpecifics& proto) { 524 VISIT_PROTO_FIELDS(const sync_pb::SessionSpecifics& proto) {
524 VISIT(session_tag); 525 VISIT(session_tag);
525 VISIT(header); 526 VISIT(header);
526 VISIT(tab); 527 VISIT(tab);
527 VISIT(tab_node_id); 528 VISIT(tab_node_id);
528 } 529 }
529 530
530 VISIT_PROTO_FIELDS(const sync_pb::ThemeSpecifics& proto) { 531 VISIT_PROTO_FIELDS(const sync_pb::ThemeSpecifics& proto) {
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 824
824 } // namespace syncer 825 } // namespace syncer
825 826
826 #undef VISIT_ 827 #undef VISIT_
827 #undef VISIT_BYTES 828 #undef VISIT_BYTES
828 #undef VISIT_ENUM 829 #undef VISIT_ENUM
829 #undef VISIT 830 #undef VISIT
830 #undef VISIT_REP 831 #undef VISIT_REP
831 832
832 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_ 833 #endif // COMPONENTS_SYNC_PROTOCOL_PROTO_VISITORS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698