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

Side by Side Diff: chrome/browser/ui/app_list/arc/arc_app_list_prefs.h

Issue 2839933005: mash: Merge ChromeLauncherController and *Impl subclass. (Closed)
Patch Set: Address comments. Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/chrome_shell_delegate.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UI_APP_LIST_ARC_ARC_APP_LIST_PREFS_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_LIST_PREFS_H_
6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_LIST_PREFS_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_LIST_PREFS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 return package_list_initial_refreshed_; 239 return package_list_initial_refreshed_;
240 } 240 }
241 241
242 std::unordered_set<std::string> GetAppsForPackage( 242 std::unordered_set<std::string> GetAppsForPackage(
243 const std::string& package_name) const; 243 const std::string& package_name) const;
244 244
245 void SetDefaltAppsReadyCallback(base::Closure callback); 245 void SetDefaltAppsReadyCallback(base::Closure callback);
246 void SimulateDefaultAppAvailabilityTimeoutForTesting(); 246 void SimulateDefaultAppAvailabilityTimeoutForTesting();
247 247
248 private: 248 private:
249 friend class ChromeLauncherControllerImplTest; 249 friend class ChromeLauncherControllerTest;
250 friend class ArcAppModelBuilderTest; 250 friend class ArcAppModelBuilderTest;
251 251
252 // See the Create methods. 252 // See the Create methods.
253 ArcAppListPrefs( 253 ArcAppListPrefs(
254 Profile* profile, 254 Profile* profile,
255 arc::InstanceHolder<arc::mojom::AppInstance>* app_instance_holder); 255 arc::InstanceHolder<arc::mojom::AppInstance>* app_instance_holder);
256 256
257 // arc::InstanceHolder<arc::mojom::AppInstance>::Observer: 257 // arc::InstanceHolder<arc::mojom::AppInstance>::Observer:
258 void OnInstanceReady() override; 258 void OnInstanceReady() override;
259 void OnInstanceClosed() override; 259 void OnInstanceClosed() override;
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 base::Closure default_apps_ready_callback_; 435 base::Closure default_apps_ready_callback_;
436 int last_shown_batch_installation_revision_ = -1; 436 int last_shown_batch_installation_revision_ = -1;
437 int current_batch_installation_revision_ = 0; 437 int current_batch_installation_revision_ = 0;
438 438
439 base::WeakPtrFactory<ArcAppListPrefs> weak_ptr_factory_; 439 base::WeakPtrFactory<ArcAppListPrefs> weak_ptr_factory_;
440 440
441 DISALLOW_COPY_AND_ASSIGN(ArcAppListPrefs); 441 DISALLOW_COPY_AND_ASSIGN(ArcAppListPrefs);
442 }; 442 };
443 443
444 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_LIST_PREFS_H_ 444 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_LIST_PREFS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/ash/chrome_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698