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

Side by Side Diff: webkit/fileapi/sandbox_mount_point_provider_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
« no previous file with comments | « webkit/fileapi/quota_file_util_unittest.cc ('k') | webkit/quota/quota_database_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/sandbox_mount_point_provider.h" 5 #include "webkit/fileapi/sandbox_mount_point_provider.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_callback_factory.h" 13 #include "base/memory/scoped_callback_factory.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/scoped_temp_dir.h"
16 #include "base/message_loop.h" 15 #include "base/message_loop.h"
17 #include "base/message_loop_proxy.h" 16 #include "base/message_loop_proxy.h"
17 #include "base/scoped_temp_dir.h"
18 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "webkit/fileapi/file_system_path_manager.h" 20 #include "webkit/fileapi/file_system_path_manager.h"
21 #include "webkit/fileapi/file_system_util.h" 21 #include "webkit/fileapi/file_system_util.h"
22 22
23 namespace fileapi { 23 namespace fileapi {
24 24
25 class MockFileSystemPathManager : public FileSystemPathManager { 25 class MockFileSystemPathManager : public FileSystemPathManager {
26 public: 26 public:
27 MockFileSystemPathManager(const FilePath& filesystem_path) 27 MockFileSystemPathManager(const FilePath& filesystem_path)
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 ASSERT_TRUE(persistent_set.find(current) != persistent_set.end()); 100 ASSERT_TRUE(persistent_set.find(current) != persistent_set.end());
101 ++persistent_actual_size; 101 ++persistent_actual_size;
102 } 102 }
103 } 103 }
104 104
105 ASSERT_EQ(temporary_size, temporary_actual_size); 105 ASSERT_EQ(temporary_size, temporary_actual_size);
106 ASSERT_EQ(persistent_size, persistent_actual_size); 106 ASSERT_EQ(persistent_size, persistent_actual_size);
107 } 107 }
108 108
109 } // namespace fileapi 109 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/fileapi/quota_file_util_unittest.cc ('k') | webkit/quota/quota_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698