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

Side by Side Diff: webkit/fileapi/obfuscated_file_system_file_util_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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/scoped_temp_dir.h"
12 #include "base/platform_file.h" 11 #include "base/platform_file.h"
12 #include "base/scoped_temp_dir.h"
13 #include "base/sys_string_conversions.h" 13 #include "base/sys_string_conversions.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "webkit/fileapi/file_system_context.h" 15 #include "webkit/fileapi/file_system_context.h"
16 #include "webkit/fileapi/file_system_operation_context.h" 16 #include "webkit/fileapi/file_system_operation_context.h"
17 #include "webkit/fileapi/obfuscated_file_system_file_util.h" 17 #include "webkit/fileapi/obfuscated_file_system_file_util.h"
18 18
19 using namespace fileapi; 19 using namespace fileapi;
20 20
21 namespace { 21 namespace {
22 22
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 EXPECT_TRUE(ofsfu()->DirectoryExists(context.get(), src_path)); 746 EXPECT_TRUE(ofsfu()->DirectoryExists(context.get(), src_path));
747 context.reset(NewContext()); 747 context.reset(NewContext());
748 EXPECT_TRUE(ofsfu()->DirectoryExists(context.get(), dest_path)); 748 EXPECT_TRUE(ofsfu()->DirectoryExists(context.get(), dest_path));
749 context.reset(NewContext()); 749 context.reset(NewContext());
750 recursive = true; 750 recursive = true;
751 ASSERT_EQ(base::PLATFORM_FILE_OK, 751 ASSERT_EQ(base::PLATFORM_FILE_OK,
752 ofsfu()->Delete(context.get(), dest_path, recursive)); 752 ofsfu()->Delete(context.get(), dest_path, recursive));
753 context.reset(NewContext()); 753 context.reset(NewContext());
754 EXPECT_FALSE(ofsfu()->DirectoryExists(context.get(), dest_path)); 754 EXPECT_FALSE(ofsfu()->DirectoryExists(context.get(), dest_path));
755 } 755 }
OLDNEW
« no previous file with comments | « webkit/fileapi/local_file_system_file_util_unittest.cc ('k') | webkit/fileapi/quota_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698