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

Unified Diff: components/omnibox/browser/physical_web_node.h

Issue 2635613002: Replace deprecated calls to GetMetadata in Physical Web omnibox provider (Closed)
Patch Set: fix tests Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/omnibox/browser/physical_web_node.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/physical_web_node.h
diff --git a/components/omnibox/browser/physical_web_node.h b/components/omnibox/browser/physical_web_node.h
index 7208b464efc43364561b013ab6468478a34acd2f..3ed0bfeb17938a8568be75874a62a6f8042b3a8d 100644
--- a/components/omnibox/browser/physical_web_node.h
+++ b/components/omnibox/browser/physical_web_node.h
@@ -8,13 +8,13 @@
#include "components/bookmarks/browser/titled_url_node.h"
#include "url/gurl.h"
-namespace base {
-class DictionaryValue;
+namespace physical_web {
+struct Metadata;
}
class PhysicalWebNode : public bookmarks::TitledUrlNode {
public:
- explicit PhysicalWebNode(const base::DictionaryValue& metadata_item);
+ explicit PhysicalWebNode(const physical_web::Metadata& metadata_item);
~PhysicalWebNode() override;
// TitledUrlNode
« no previous file with comments | « no previous file | components/omnibox/browser/physical_web_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698