Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: webkit/fileapi/file_system_directory_database_unittest.cc

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unknwn Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "webkit/fileapi/file_system_directory_database.h" 5 #include "webkit/fileapi/file_system_directory_database.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include "base/memory/scoped_temp_dir.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_temp_dir.h"
11 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 namespace fileapi { 15 namespace fileapi {
16 16
17 class FileSystemDirectoryDatabaseTest : public testing::Test { 17 class FileSystemDirectoryDatabaseTest : public testing::Test {
18 public: 18 public:
19 typedef FileSystemDirectoryDatabase::FileId FileId; 19 typedef FileSystemDirectoryDatabase::FileId FileId;
20 typedef FileSystemDirectoryDatabase::FileInfo FileInfo; 20 typedef FileSystemDirectoryDatabase::FileInfo FileInfo;
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 EXPECT_TRUE(db()->GetNextInteger(&next)); 402 EXPECT_TRUE(db()->GetNextInteger(&next));
403 EXPECT_EQ(2, next); 403 EXPECT_EQ(2, next);
404 EXPECT_TRUE(db()->GetNextInteger(&next)); 404 EXPECT_TRUE(db()->GetNextInteger(&next));
405 EXPECT_EQ(3, next); 405 EXPECT_EQ(3, next);
406 InitDatabase(); 406 InitDatabase();
407 EXPECT_TRUE(db()->GetNextInteger(&next)); 407 EXPECT_TRUE(db()->GetNextInteger(&next));
408 EXPECT_EQ(4, next); 408 EXPECT_EQ(4, next);
409 } 409 }
410 410
411 } // namespace fileapi 411 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_dir_url_request_job_unittest.cc ('k') | webkit/fileapi/file_system_operation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698