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

Side by Side Diff: components/physical_web/data_source/physical_web_data_source.cc

Issue 2561493002: Pass Physical Web metadata through a struct (Closed)
Patch Set: C++ cast afterparty Created 4 years 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 #include "components/physical_web/data_source/physical_web_data_source.h" 5 #include "components/physical_web/data_source/physical_web_data_source.h"
6 6
7 namespace physical_web { 7 namespace physical_web {
8 8
9 const char kDescriptionKey[] = "description"; 9 const char kDescriptionKey[] = "description";
10 const char kDistanceEstimateKey[] = "distanceEstimate"; 10 const char kDistanceEstimateKey[] = "distanceEstimate";
11 const char kGroupIdKey[] = "groupId"; 11 const char kGroupIdKey[] = "groupId";
12 const char kIconUrlKey[] = "icon"; 12 const char kIconUrlKey[] = "icon";
13 const char kResolvedUrlKey[] = "resolvedUrl"; 13 const char kResolvedUrlKey[] = "resolvedUrl";
14 const char kScanTimestampKey[] = "scanTimestamp"; 14 const char kScanTimestampKey[] = "scanTimestamp";
15 const char kScannedUrlKey[] = "scannedUrl"; 15 const char kScannedUrlKey[] = "scannedUrl";
16 const char kTitleKey[] = "title"; 16 const char kTitleKey[] = "title";
17 17
18 Metadata::Metadata() {}
19
20 Metadata::Metadata(const Metadata& other) = default;
21
22 Metadata::~Metadata() {}
23
18 } // namespace physical_web 24 } // namespace physical_web
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698