OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <string.h> | 5 #include <string.h> |
6 #include <utility> | 6 #include <utility> |
7 | 7 |
8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "chrome/common/common_param_traits.h" | 10 #include "chrome/common/common_param_traits.h" |
| 11 #include "chrome/common/geoposition.h" |
11 #include "gfx/rect.h" | 12 #include "gfx/rect.h" |
12 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
13 #include "ipc/ipc_message.h" | 14 #include "ipc/ipc_message.h" |
14 #include "ipc/ipc_message_utils.h" | 15 #include "ipc/ipc_message_utils.h" |
15 #include "printing/native_metafile.h" | 16 #include "printing/native_metafile.h" |
16 #include "printing/page_range.h" | 17 #include "printing/page_range.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
18 #include "third_party/skia/include/core/SkBitmap.h" | 19 #include "third_party/skia/include/core/SkBitmap.h" |
19 | 20 |
20 #ifndef NDEBUG | 21 #ifndef NDEBUG |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 #ifndef NDEBUG | 271 #ifndef NDEBUG |
271 logging::SetLogAssertHandler(IgnoreAssertHandler); | 272 logging::SetLogAssertHandler(IgnoreAssertHandler); |
272 #endif // NDEBUG | 273 #endif // NDEBUG |
273 EXPECT_FALSE(IPC::ParamTraits<printing::NativeMetafile>::Read( | 274 EXPECT_FALSE(IPC::ParamTraits<printing::NativeMetafile>::Read( |
274 &bad_msg, &iter, &bad_output)); | 275 &bad_msg, &iter, &bad_output)); |
275 #else // defined(OS_WIN) | 276 #else // defined(OS_WIN) |
276 NOTIMPLEMENTED(); | 277 NOTIMPLEMENTED(); |
277 #endif // defined(OS_WIN) | 278 #endif // defined(OS_WIN) |
278 } | 279 } |
279 | 280 |
OLD | NEW |