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

Side by Side Diff: chrome/browser/chromeos/file_manager/file_watcher.h

Issue 23945002: file_manager: Move non-binding code to c/b/chromeos/file_manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_WATCHER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_WATCHER_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_WATCHER_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_WATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/files/file_path_watcher.h" 13 #include "base/files/file_path_watcher.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 15
16 namespace file_manager { 16 namespace file_manager {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 typedef std::map<std::string, int> ExtensionCountMap; 77 typedef std::map<std::string, int> ExtensionCountMap;
78 ExtensionCountMap extensions_; 78 ExtensionCountMap extensions_;
79 79
80 // Note: This should remain the last member so it'll be destroyed and 80 // Note: This should remain the last member so it'll be destroyed and
81 // invalidate the weak pointers before any other members are destroyed. 81 // invalidate the weak pointers before any other members are destroyed.
82 base::WeakPtrFactory<FileWatcher> weak_ptr_factory_; 82 base::WeakPtrFactory<FileWatcher> weak_ptr_factory_;
83 }; 83 };
84 84
85 } // namespace file_manager 85 } // namespace file_manager
86 86
87 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_WATCHER_H_ 87 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_WATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/file_manager/file_tasks_unittest.cc ('k') | chrome/browser/chromeos/file_manager/file_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698