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

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

Issue 14895013: Move webkit/fileapi/file_system_mount_point_provider.h 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
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/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/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
14 #include "chrome/browser/browsing_data/browsing_data_helper.h" 14 #include "chrome/browser/browsing_data/browsing_data_helper.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "webkit/fileapi/file_system_context.h" 16 #include "webkit/browser/fileapi/file_system_context.h"
17 #include "webkit/fileapi/file_system_quota_util.h" 17 #include "webkit/browser/fileapi/file_system_quota_util.h"
18 #include "webkit/browser/fileapi/sandbox_mount_point_provider.h"
18 #include "webkit/fileapi/file_system_types.h" 19 #include "webkit/fileapi/file_system_types.h"
19 #include "webkit/fileapi/sandbox_mount_point_provider.h"
20 20
21 using content::BrowserThread; 21 using content::BrowserThread;
22 22
23 namespace fileapi { 23 namespace fileapi {
24 class FileSystemContext; 24 class FileSystemContext;
25 } 25 }
26 26
27 namespace { 27 namespace {
28 28
29 // An implementation of the BrowsingDataFileSystemHelper interface that pulls 29 // An implementation of the BrowsingDataFileSystemHelper interface that pulls
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 base::Bind(&CannedBrowsingDataFileSystemHelper::NotifyOnUIThread, this)); 292 base::Bind(&CannedBrowsingDataFileSystemHelper::NotifyOnUIThread, this));
293 } 293 }
294 294
295 void CannedBrowsingDataFileSystemHelper::NotifyOnUIThread() { 295 void CannedBrowsingDataFileSystemHelper::NotifyOnUIThread() {
296 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 296 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
297 DCHECK(is_fetching_); 297 DCHECK(is_fetching_);
298 completion_callback_.Run(file_system_info_); 298 completion_callback_.Run(file_system_info_);
299 completion_callback_.Reset(); 299 completion_callback_.Reset();
300 is_fetching_ = false; 300 is_fetching_ = false;
301 } 301 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698