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

Side by Side Diff: content/browser/plugin_service.cc

Issue 6670081: Move FilePathWatcher class from browser/... to common/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/browser/plugin_service.h" 5 #include "content/browser/plugin_service.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 webkit::npapi::PluginList::Singleton()->RegisterInternalPlugin(info); 542 webkit::npapi::PluginList::Singleton()->RegisterInternalPlugin(info);
543 } 543 }
544 } 544 }
545 545
546 #if defined(OS_LINUX) 546 #if defined(OS_LINUX)
547 // static 547 // static
548 void PluginService::RegisterFilePathWatcher( 548 void PluginService::RegisterFilePathWatcher(
549 FilePathWatcher *watcher, 549 FilePathWatcher *watcher,
550 const FilePath& path, 550 const FilePath& path,
551 FilePathWatcher::Delegate* delegate) { 551 FilePathWatcher::Delegate* delegate) {
552 bool result = watcher->Watch(path, delegate); 552 bool result = watcher->Watch(
553 path, delegate, base::MessageLoopProxy::CreateForCurrentThread());
553 DCHECK(result); 554 DCHECK(result);
554 } 555 }
555 #endif 556 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698