1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26

content / public / test / test_navigation_ui_data.h [blame]

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_PUBLIC_TEST_TEST_NAVIGATION_UI_DATA_H_
#define CONTENT_PUBLIC_TEST_TEST_NAVIGATION_UI_DATA_H_

#include <memory>

#include "content/public/browser/navigation_ui_data.h"

namespace content {

// Subclass for content tests to check NavigationUIData is passed around
// correctly.
class TestNavigationUIData : public content::NavigationUIData {
 public:
  TestNavigationUIData() {}
  ~TestNavigationUIData() override {}

  std::unique_ptr<NavigationUIData> Clone() override;
};

}  // namespace content

#endif  // CONTENT_PUBLIC_TEST_TEST_NAVIGATION_UI_DATA_H_