blob: 76965659ed3e8245f6731c22902c845b866f4388 [file] [log] [blame]
// Copyright (c) 2012 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.
#include "base/basictypes.h"
struct ImportedBookmarkEntry;
const int kMaxPathSize = 5;
struct BookmarkInfo {
const bool in_toolbar;
const size_t path_size;
const char* path[kMaxPathSize];
const wchar_t* title;
const char* url;
// Generates an assertion error if |entry| is not equal to |expected|. Wrap this
// method in (ASSERT|EXPECT)_NO_FATAL_FAILURE to catch the error if one is
// generated.
void TestEqualBookmarkEntry(const ImportedBookmarkEntry& entry,
const BookmarkInfo& expected);