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

Unified Diff: chrome/browser/extensions/updater/chrome_manifest_fetch_data_delegate.h

Issue 465543004: Factor Chrome details out of update manifest fetching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/extensions/updater/chrome_manifest_fetch_data_delegate.h
diff --git a/chrome/browser/extensions/updater/chrome_manifest_fetch_data_delegate.h b/chrome/browser/extensions/updater/chrome_manifest_fetch_data_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..061ca12a146a35822a8d496b888c76725e0ddee4
--- /dev/null
+++ b/chrome/browser/extensions/updater/chrome_manifest_fetch_data_delegate.h
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_MANIFEST_FETCH_DATA_DELEGATE_H_
+#define CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_MANIFEST_FETCH_DATA_DELEGATE_H_
+
+#include "base/macros.h"
+#include "extensions/browser/updater/manifest_fetch_data_delegate.h"
+
+class ChromeManifestFetchDataDelegate
+ : public extensions::ManifestFetchDataDelegate {
+ public:
+ ChromeManifestFetchDataDelegate();
+ virtual ~ChromeManifestFetchDataDelegate();
+
+ // ManifestFetchDelegate implementation.
+ virtual std::string GetBaseQueryParams() OVERRIDE;
+ virtual bool ShouldAlwaysCheckWebstore() OVERRIDE;
+ virtual std::string GetBrandCode() OVERRIDE;
+ virtual std::string GetPingParamsAndData(
+ const std::string& extension_id,
+ const extensions::ManifestFetchData::PingData& old_ping_data,
+ extensions::ManifestFetchData::PingData* new_ping_data) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ChromeManifestFetchDataDelegate);
+};
+
+#endif // CHROME_BROWSER_EXTENSIONS_UPDATER_CHROME_MANIFEST_FETCH_DATA_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698