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

Unified Diff: chrome/browser/chromeos/extensions/default_app_order.h

Issue 216763004: OEM folder name support for apps installed from rootfs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/extensions/default_app_order.h
diff --git a/chrome/browser/chromeos/extensions/default_app_order.h b/chrome/browser/chromeos/extensions/default_app_order.h
index fc1324c4f6da9035a746cc9b778802a2238d0dd9..11f4e71469f4a42befb27f836cdb7f87edab2286 100644
--- a/chrome/browser/chromeos/extensions/default_app_order.h
+++ b/chrome/browser/chromeos/extensions/default_app_order.h
@@ -27,6 +27,7 @@ class ExternalLoader {
~ExternalLoader();
const std::vector<std::string>& GetAppIds();
+ const std::string& GetOemAppsFolderName();
private:
void Load();
@@ -34,6 +35,8 @@ class ExternalLoader {
// A vector of app id strings that defines the default order of apps.
std::vector<std::string> app_ids_;
+ std::string oem_apps_folder_name_;
+
base::WaitableEvent loaded_;
DISALLOW_COPY_AND_ASSIGN(ExternalLoader);
@@ -42,6 +45,9 @@ class ExternalLoader {
// Gets the ordered list of app ids.
void Get(std::vector<std::string>* app_ids);
+// Get the name of OEM apps folder in app launcher.
+std::string GetOemAppsFolderName();
+
} // namespace default_app_order
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698