| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7208b464efc43364561b013ab6468478a34acd2f
|
| --- /dev/null
|
| +++ b/components/omnibox/browser/physical_web_node.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_OMNIBOX_BROWSER_PHYSICAL_WEB_NODE_H_
|
| +#define COMPONENTS_OMNIBOX_BROWSER_PHYSICAL_WEB_NODE_H_
|
| +
|
| +#include "components/bookmarks/browser/titled_url_node.h"
|
| +#include "url/gurl.h"
|
| +
|
| +namespace base {
|
| +class DictionaryValue;
|
| +}
|
| +
|
| +class PhysicalWebNode : public bookmarks::TitledUrlNode {
|
| + public:
|
| + explicit PhysicalWebNode(const base::DictionaryValue& metadata_item);
|
| + ~PhysicalWebNode() override;
|
| +
|
| + // TitledUrlNode
|
| + const base::string16& GetTitledUrlNodeTitle() const override;
|
| + const GURL& GetTitledUrlNodeUrl() const override;
|
| +
|
| + private:
|
| + base::string16 node_title_;
|
| + GURL node_url_;
|
| +};
|
| +
|
| +#endif // COMPONENTS_OMNIBOX_BROWSER_PHYSICAL_WEB_NODE_H_
|
|
|