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

Side by Side Diff: chrome/browser/media_galleries/fileapi/media_file_system_backend.cc

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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 "chrome/browser/media_galleries/fileapi/media_file_system_backend.h" 5 #include "chrome/browser/media_galleries/fileapi/media_file_system_backend.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 21 matching lines...) Expand all
32 #include "webkit/common/fileapi/file_system_util.h" 32 #include "webkit/common/fileapi/file_system_util.h"
33 33
34 #if defined(OS_WIN) || defined(OS_MACOSX) 34 #if defined(OS_WIN) || defined(OS_MACOSX)
35 #include "chrome/browser/media_galleries/fileapi/itunes_file_util.h" 35 #include "chrome/browser/media_galleries/fileapi/itunes_file_util.h"
36 #include "chrome/browser/media_galleries/fileapi/picasa_file_util.h" 36 #include "chrome/browser/media_galleries/fileapi/picasa_file_util.h"
37 #endif // defined(OS_WIN) || defined(OS_MACOSX) 37 #endif // defined(OS_WIN) || defined(OS_MACOSX)
38 38
39 using fileapi::FileSystemContext; 39 using fileapi::FileSystemContext;
40 using fileapi::FileSystemURL; 40 using fileapi::FileSystemURL;
41 41
42 namespace chrome {
43
44 const char MediaFileSystemBackend::kMediaTaskRunnerName[] = 42 const char MediaFileSystemBackend::kMediaTaskRunnerName[] =
45 "media-task-runner"; 43 "media-task-runner";
46 44
47 MediaFileSystemBackend::MediaFileSystemBackend( 45 MediaFileSystemBackend::MediaFileSystemBackend(
48 const base::FilePath& profile_path, 46 const base::FilePath& profile_path,
49 base::SequencedTaskRunner* media_task_runner) 47 base::SequencedTaskRunner* media_task_runner)
50 : profile_path_(profile_path), 48 : profile_path_(profile_path),
51 media_task_runner_(media_task_runner), 49 media_task_runner_(media_task_runner),
52 media_path_filter_(new MediaPathFilter), 50 media_path_filter_(new MediaPathFilter),
53 media_copy_or_move_file_validator_factory_(new MediaFileValidatorFactory), 51 media_copy_or_move_file_validator_factory_(new MediaFileValidatorFactory),
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 new fileapi::LocalFileStreamWriter( 185 new fileapi::LocalFileStreamWriter(
188 context->default_file_task_runner(), 186 context->default_file_task_runner(),
189 url.path(), offset)); 187 url.path(), offset));
190 } 188 }
191 189
192 fileapi::FileSystemQuotaUtil* 190 fileapi::FileSystemQuotaUtil*
193 MediaFileSystemBackend::GetQuotaUtil() { 191 MediaFileSystemBackend::GetQuotaUtil() {
194 // No quota support. 192 // No quota support.
195 return NULL; 193 return NULL;
196 } 194 }
197
198 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698