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

Unified Diff: chrome/browser/chromeos/login/apply_services_customization.h

Issue 6377003: Read services customization manifest on FILE thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: vlog Created 9 years, 11 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/chromeos/login/apply_services_customization.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/apply_services_customization.h
diff --git a/chrome/browser/chromeos/login/apply_services_customization.h b/chrome/browser/chromeos/login/apply_services_customization.h
index 757ce7c4fa76fad1112e5e21cdbf4222a093ae2f..577b94d911523dd9fb6cb553853b3841b608f527 100644
--- a/chrome/browser/chromeos/login/apply_services_customization.h
+++ b/chrome/browser/chromeos/login/apply_services_customization.h
@@ -13,6 +13,7 @@
#include "chrome/common/net/url_fetcher.h"
#include "googleurl/src/gurl.h"
+class FilePath;
class PrefService;
namespace chromeos {
@@ -51,6 +52,12 @@ class ApplyServicesCustomization : public URLFetcher::Delegate {
// Applies given |manifest|.
void Apply(const std::string& manifest);
+ // Applies given |manifest| and delete this object.
+ void ApplyAndDelete(const std::string& manifest);
+
+ // Executes on FILE thread and reads file to string.
+ void ReadFileInBackground(const FilePath& file);
+
// Remember in local state status of kServicesCustomizationAppliedPref.
static void SetApplied(bool val);
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/apply_services_customization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698