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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_file_system_helper.cc

Issue 15535006: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browsing_data/browsing_data_file_system_helper.h" 5 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
13 #include "chrome/browser/browsing_data/browsing_data_helper.h" 13 #include "chrome/browser/browsing_data/browsing_data_helper.h"
14 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
15 #include "webkit/browser/fileapi/file_system_quota_util.h"
15 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h" 16 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h"
16 #include "webkit/fileapi/file_system_context.h" 17 #include "webkit/fileapi/file_system_context.h"
17 #include "webkit/fileapi/file_system_quota_util.h"
18 #include "webkit/fileapi/file_system_types.h" 18 #include "webkit/fileapi/file_system_types.h"
19 19
20 using content::BrowserThread; 20 using content::BrowserThread;
21 21
22 namespace fileapi { 22 namespace fileapi {
23 class FileSystemContext; 23 class FileSystemContext;
24 } 24 }
25 25
26 namespace { 26 namespace {
27 27
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 base::Bind(&CannedBrowsingDataFileSystemHelper::NotifyOnUIThread, this)); 291 base::Bind(&CannedBrowsingDataFileSystemHelper::NotifyOnUIThread, this));
292 } 292 }
293 293
294 void CannedBrowsingDataFileSystemHelper::NotifyOnUIThread() { 294 void CannedBrowsingDataFileSystemHelper::NotifyOnUIThread() {
295 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 295 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
296 DCHECK(is_fetching_); 296 DCHECK(is_fetching_);
297 completion_callback_.Run(file_system_info_); 297 completion_callback_.Run(file_system_info_);
298 completion_callback_.Reset(); 298 completion_callback_.Reset();
299 is_fetching_ = false; 299 is_fetching_ = false;
300 } 300 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media_galleries/fileapi/media_file_system_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698