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

Side by Side Diff: components/arc/intent_helper/arc_intent_helper_bridge.cc

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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "components/arc/intent_helper/arc_intent_helper_bridge.h" 5 #include "components/arc/intent_helper/arc_intent_helper_bridge.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/new_window_controller.h" 9 #include "ash/common/new_window_controller.h"
10 #include "ash/common/shell_delegate.h" 10 #include "ash/common/shell_delegate.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 return GetIntentHelperInstanceWithErrorCode(method_name_for_logging, 171 return GetIntentHelperInstanceWithErrorCode(method_name_for_logging,
172 min_instance_version, nullptr); 172 min_instance_version, nullptr);
173 } 173 }
174 174
175 void ArcIntentHelperBridge::OnIntentFiltersUpdated( 175 void ArcIntentHelperBridge::OnIntentFiltersUpdated(
176 std::vector<IntentFilter> filters) { 176 std::vector<IntentFilter> filters) {
177 DCHECK(thread_checker_.CalledOnValidThread()); 177 DCHECK(thread_checker_.CalledOnValidThread());
178 activity_resolver_->UpdateIntentFilters(std::move(filters)); 178 activity_resolver_->UpdateIntentFilters(std::move(filters));
179 179
180 for (auto& observer : observer_list_) 180 for (auto& observer : observer_list_)
181 observer.OnAppsUpdated(); 181 observer.OnIntentFiltersUpdated();
182 } 182 }
183 183
184 } // namespace arc 184 } // namespace arc
OLDNEW
« no previous file with comments | « components/arc/arc_service_manager.cc ('k') | components/arc/intent_helper/arc_intent_helper_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698