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

Unified Diff: chrome/browser/browser_process_platform_part_chromeos.h

Issue 2898063002: Hold cros_component_installers in browser_process. (Closed)
Patch Set: remove dead code 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browser_process_platform_part_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_platform_part_chromeos.h
diff --git a/chrome/browser/browser_process_platform_part_chromeos.h b/chrome/browser/browser_process_platform_part_chromeos.h
index 675e57c95c91677755acb36c1c5612fd9efd2f63..e0c970e1ca2fe60110dc3cf83f0382c9774d886f 100644
--- a/chrome/browser/browser_process_platform_part_chromeos.h
+++ b/chrome/browser/browser_process_platform_part_chromeos.h
@@ -6,8 +6,10 @@
#define CHROME_BROWSER_BROWSER_PROCESS_PLATFORM_PART_CHROMEOS_H_
#include <memory>
+#include <string>
#include "base/compiler_specific.h"
+#include "base/containers/flat_set.h"
#include "base/macros.h"
#include "base/threading/non_thread_safe.h"
#include "chrome/browser/browser_process_platform_part_base.h"
@@ -98,6 +100,10 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
chromeos::system::SystemClock* GetSystemClock();
void DestroySystemClock();
+ void AddCompatibleCrOSComponent(const std::string& name);
+
+ bool IsCompatibleCrOSComponent(const std::string& name);
+
private:
void CreateProfileHelper();
@@ -124,6 +130,8 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
std::unique_ptr<ScopedKeepAlive> keep_alive_;
+ base::flat_set<std::string> compatible_cros_components_;
+
DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
};
« no previous file with comments | « no previous file | chrome/browser/browser_process_platform_part_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698