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

Side by Side Diff: chrome/browser/extensions/api/file_system/entry_watcher_service.cc

Issue 559063002: Remove webkit/browser/, point everything to storage/browser/ instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up DEPS per feedback Created 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/extensions/api/file_system/entry_watcher_service.h" 5 #include "chrome/browser/extensions/api/file_system/entry_watcher_service.h"
6 6
7 #include "base/thread_task_runner_handle.h" 7 #include "base/thread_task_runner_handle.h"
8 #include "chrome/browser/extensions/extension_util.h" 8 #include "chrome/browser/extensions/extension_util.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/common/extensions/api/file_system.h" 10 #include "chrome/common/extensions/api/file_system.h"
11 #include "components/keyed_service/content/browser_context_dependency_manager.h" 11 #include "components/keyed_service/content/browser_context_dependency_manager.h"
12 #include "content/public/browser/browser_context.h" 12 #include "content/public/browser/browser_context.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/storage_partition.h" 14 #include "content/public/browser/storage_partition.h"
15 #include "extensions/browser/event_router.h" 15 #include "extensions/browser/event_router.h"
16 #include "webkit/browser/fileapi/file_system_context.h" 16 #include "storage/browser/fileapi/file_system_context.h"
17 17
18 namespace extensions { 18 namespace extensions {
19 namespace { 19 namespace {
20 20
21 // Default implementation for dispatching an event. Can be replaced for unit 21 // Default implementation for dispatching an event. Can be replaced for unit
22 // tests by EntryWatcherService::SetDispatchEventImplForTesting(). 22 // tests by EntryWatcherService::SetDispatchEventImplForTesting().
23 void DispatchEventImpl(EventRouter* event_router, 23 void DispatchEventImpl(EventRouter* event_router,
24 const std::string& extension_id, 24 const std::string& extension_id,
25 scoped_ptr<Event> event) { 25 scoped_ptr<Event> event) {
26 event_router->DispatchEventToExtension(extension_id, event.Pass()); 26 event_router->DispatchEventToExtension(extension_id, event.Pass());
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 const storage::FileSystemURL& url, 244 const storage::FileSystemURL& url,
245 bool directory, 245 bool directory,
246 bool recursive) 246 bool recursive)
247 : url(url), directory(directory), recursive(recursive) { 247 : url(url), directory(directory), recursive(recursive) {
248 } 248 }
249 249
250 EntryWatcherService::EntryWatcher::~EntryWatcher() { 250 EntryWatcherService::EntryWatcher::~EntryWatcher() {
251 } 251 }
252 252
253 } // namespace extensions 253 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698