blob: 633663c3ce0bfcbb50318eddf8fd124e477d1dcf [file] [log] [blame]
// Copyright (c) 2010 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 "chrome/common/about_handler.h"
#include "chrome/renderer/about_handler.h"
#include "testing/gtest/include/gtest/gtest.h"
// This is just to make sure the about_urls array in
// chrome/common/ matches up with the about_urls_handlers
// in chrome/renderer/ They used to be in one array, but
// we broke them apart to break a browser <-> renderer dependency.
// We cannot test this with COMPILE_ASSERT because
// chrome/renderer/ doesn't know about the size of about_urls
// in chrome/common/ at compile time.
TEST(RendererAboutHandlerTest, AboutUrlHandlerArray) {