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

Side by Side Diff: webkit/browser/fileapi/file_system_context_unittest.cc

Issue 24649002: Clean up a few more unused globals. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: thestig comment Created 7 years, 2 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/browser/fileapi/file_system_context.h" 5 #include "webkit/browser/fileapi/file_system_context.h"
6 6
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 10 matching lines...) Expand all
21 #define DRIVE FPL("C:") 21 #define DRIVE FPL("C:")
22 #else 22 #else
23 #define DRIVE 23 #define DRIVE
24 #endif 24 #endif
25 25
26 namespace fileapi { 26 namespace fileapi {
27 27
28 namespace { 28 namespace {
29 29
30 const char kTestOrigin[] = "http://chromium.org/"; 30 const char kTestOrigin[] = "http://chromium.org/";
31 const base::FilePath::CharType kVirtualPathNoRoot[] = FPL("root/file");
32 31
33 GURL CreateRawFileSystemURL(const std::string& type_str, 32 GURL CreateRawFileSystemURL(const std::string& type_str,
34 const std::string& fs_id) { 33 const std::string& fs_id) {
35 std::string url_str = base::StringPrintf( 34 std::string url_str = base::StringPrintf(
36 "filesystem:http://chromium.org/%s/%s/root/file", 35 "filesystem:http://chromium.org/%s/%s/root/file",
37 type_str.c_str(), 36 type_str.c_str(),
38 fs_id.c_str()); 37 fs_id.c_str());
39 return GURL(url_str); 38 return GURL(url_str);
40 } 39 }
41 40
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 base::FilePath(DRIVE FPL("/test/isolated/root"))); 318 base::FilePath(DRIVE FPL("/test/isolated/root")));
320 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem("system"); 319 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem("system");
321 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem("ext"); 320 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem("ext");
322 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( 321 ExternalMountPoints::GetSystemInstance()->RevokeFileSystem(
323 kIsolatedFileSystemID); 322 kIsolatedFileSystemID);
324 } 323 }
325 324
326 } // namespace 325 } // namespace
327 326
328 } // namespace fileapi 327 } // namespace fileapi
OLDNEW
« chrome/renderer/media/chrome_key_systems.cc ('K') | « ui/native_theme/native_theme_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698