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

Unified Diff: chrome/browser/chromeos/cros/cros_library.h

Issue 2808100: Code implements UI for downloading and burning Chrome OS images on SSD card a... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/cros/cros_library.h
===================================================================
--- chrome/browser/chromeos/cros/cros_library.h (revision 56913)
+++ chrome/browser/chromeos/cros/cros_library.h (working copy)
@@ -12,6 +12,7 @@
#include "base/singleton.h"
namespace chromeos {
+class BurnLibrary;
class CryptohomeLibrary;
class KeyboardLibrary;
class InputMethodLibrary;
@@ -44,6 +45,8 @@
// when the CrosLibrary is deleted (or other mocks are set).
// Setter for LibraryLoader.
void SetLibraryLoader(LibraryLoader* loader, bool own);
+ // Setter for BurnLibrary.
+ void SetBurnLibrary(BurnLibrary* library, bool own);
// Setter for CryptohomeLibrary.
void SetCryptohomeLibrary(CryptohomeLibrary* library, bool own);
// Setter for KeyboardLibrary
@@ -80,6 +83,9 @@
// This gets the CrosLibrary.
static CrosLibrary* Get();
+ // Getter for BurnLibrary.
+ BurnLibrary* GetBurnLibrary();
+
// Getter for CryptohomeLibrary.
CryptohomeLibrary* GetCryptohomeLibrary();
@@ -139,6 +145,7 @@
virtual ~CrosLibrary();
LibraryLoader* library_loader_;
+
bool own_library_loader_;
// This template supports the creation, setting and optional deletion of
@@ -175,6 +182,7 @@
bool own_;
};
+ Library<BurnLibrary> burn_lib_;
Library<CryptohomeLibrary> crypto_lib_;
Library<KeyboardLibrary> keyboard_lib_;
Library<InputMethodLibrary> input_method_lib_;

Powered by Google App Engine
This is Rietveld 408576698