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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/event_router.h

Issue 2579083002: Rename OnAppsUpdated to OnIntentFiltersUpdated (Closed)
Patch Set: address comment Created 4 years 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/event_router.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 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 typedef base::Callback<void(const base::FilePath& virtual_path, 61 typedef base::Callback<void(const base::FilePath& virtual_path,
62 const drive::FileChange* list, 62 const drive::FileChange* list,
63 bool got_error, 63 bool got_error,
64 const std::vector<std::string>& extension_ids)> 64 const std::vector<std::string>& extension_ids)>
65 DispatchDirectoryChangeEventImplCallback; 65 DispatchDirectoryChangeEventImplCallback;
66 66
67 explicit EventRouter(Profile* profile); 67 explicit EventRouter(Profile* profile);
68 ~EventRouter() override; 68 ~EventRouter() override;
69 69
70 // arc::ArcServiceManager::Observer overrides. 70 // arc::ArcServiceManager::Observer overrides.
71 void OnAppsUpdated() override; 71 void OnIntentFiltersUpdated() override;
72 72
73 // KeyedService overrides. 73 // KeyedService overrides.
74 void Shutdown() override; 74 void Shutdown() override;
75 75
76 typedef base::Callback<void(bool success)> BoolCallback; 76 typedef base::Callback<void(bool success)> BoolCallback;
77 77
78 // Adds a file watch at |local_path|, associated with |virtual_path|, for 78 // Adds a file watch at |local_path|, associated with |virtual_path|, for
79 // an extension with |extension_id|. 79 // an extension with |extension_id|.
80 // 80 //
81 // |callback| will be called with true on success, or false on failure. 81 // |callback| will be called with true on success, or false on failure.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // Note: This should remain the last member so it'll be destroyed and 226 // Note: This should remain the last member so it'll be destroyed and
227 // invalidate the weak pointers before any other members are destroyed. 227 // invalidate the weak pointers before any other members are destroyed.
228 base::WeakPtrFactory<EventRouter> weak_factory_; 228 base::WeakPtrFactory<EventRouter> weak_factory_;
229 229
230 DISALLOW_COPY_AND_ASSIGN(EventRouter); 230 DISALLOW_COPY_AND_ASSIGN(EventRouter);
231 }; 231 };
232 232
233 } // namespace file_manager 233 } // namespace file_manager
234 234
235 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ 235 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698