OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <deque> | 5 #include <deque> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/memory/scoped_callback_factory.h" | 8 #include "base/memory/scoped_callback_factory.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 pop_result(); | 479 pop_result(); |
480 | 480 |
481 EXPECT_EQ(22 - 15, quota_plugin_delegate()->available_space()); | 481 EXPECT_EQ(22 - 15, quota_plugin_delegate()->available_space()); |
482 EXPECT_EQ(15, GetPlatformFileSize()); | 482 EXPECT_EQ(15, GetPlatformFileSize()); |
483 ReadPlatformFile(&read_buffer); | 483 ReadPlatformFile(&read_buffer); |
484 EXPECT_EQ("123355559012345", read_buffer); | 484 EXPECT_EQ("123355559012345", read_buffer); |
485 } | 485 } |
486 | 486 |
487 } // namespace ppapi | 487 } // namespace ppapi |
488 } // namespace webkit | 488 } // namespace webkit |
OLD | NEW |