| Index: content/public/common/assert_matching_enums.cc
|
| diff --git a/content/public/common/assert_matching_enums.cc b/content/public/common/assert_matching_enums.cc
|
| deleted file mode 100644
|
| index 9a0e89884ce03655c156a2485a399229824d6e1d..0000000000000000000000000000000000000000
|
| --- a/content/public/common/assert_matching_enums.cc
|
| +++ /dev/null
|
| @@ -1,34 +0,0 @@
|
| -// Copyright 2014 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.
|
| -
|
| -// Use this file to assert that *_list.h enums that are meant to do the bridge
|
| -// from Blink are valid.
|
| -
|
| -#include "base/macros.h"
|
| -#include "content/public/common/screen_orientation_values.h"
|
| -#include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h"
|
| -
|
| -namespace content {
|
| -
|
| -#define COMPILE_ASSERT_MATCHING_ENUM(expected, actual) \
|
| - COMPILE_ASSERT(int(expected) == int(actual), mismatching_enums)
|
| -
|
| -COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockDefault,
|
| - DEFAULT);
|
| -COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockPortraitPrimary,
|
| - PORTRAIT_PRIMARY);
|
| -COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockPortraitSecondary,
|
| - PORTRAIT_SECONDARY);
|
| -COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockLandscapePrimary,
|
| - LANDSCAPE_PRIMARY);
|
| -COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockLandscapeSecondary,
|
| - LANDSCAPE_SECONDARY);
|
| -COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockAny,
|
| - ANY);
|
| -COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockLandscape,
|
| - LANDSCAPE);
|
| -COMPILE_ASSERT_MATCHING_ENUM(blink::WebScreenOrientationLockPortrait,
|
| - PORTRAIT);
|
| -
|
| -} // namespace content
|
|
|