OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_PHYSICAL_WEB_NODE_H_ |
| 6 #define COMPONENTS_OMNIBOX_BROWSER_PHYSICAL_WEB_NODE_H_ |
| 7 |
| 8 #include "components/bookmarks/browser/titled_url_node.h" |
| 9 #include "url/gurl.h" |
| 10 |
| 11 namespace base { |
| 12 class DictionaryValue; |
| 13 } |
| 14 |
| 15 class PhysicalWebNode : public bookmarks::TitledUrlNode { |
| 16 public: |
| 17 explicit PhysicalWebNode(const base::DictionaryValue& metadata_item); |
| 18 ~PhysicalWebNode() override; |
| 19 |
| 20 // TitledUrlNode |
| 21 const base::string16& GetTitledUrlNodeTitle() const override; |
| 22 const GURL& GetTitledUrlNodeUrl() const override; |
| 23 |
| 24 private: |
| 25 base::string16 node_title_; |
| 26 GURL node_url_; |
| 27 }; |
| 28 |
| 29 #endif // COMPONENTS_OMNIBOX_BROWSER_PHYSICAL_WEB_NODE_H_ |
OLD | NEW |