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

Unified Diff: extensions/browser/updater/default_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: extensions/browser/updater/default_manifest_fetch_data_delegate.h
diff --git a/extensions/browser/updater/default_manifest_fetch_data_delegate.h b/extensions/browser/updater/default_manifest_fetch_data_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..83b648cfc2ae4ac6178c86cf99d22a626b865257
--- /dev/null
+++ b/extensions/browser/updater/default_manifest_fetch_data_delegate.h
@@ -0,0 +1,33 @@
+// 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 EXTENSIONS_BROWSER_UPDATER_DEFAULT_MANIFEST_FETCH_DATA_DELEGATE_H_
+#define EXTENSIONS_BROWSER_UPDATER_DEFAULT_MANIFEST_FETCH_DATA_DELEGATE_H_
+
+#include "base/macros.h"
+#include "extensions/browser/updater/manifest_fetch_data_delegate.h"
+
+namespace extensions {
+
+class DefaultManifestFetchDataDelegate : public ManifestFetchDataDelegate {
+ public:
+ DefaultManifestFetchDataDelegate();
+ virtual ~DefaultManifestFetchDataDelegate();
+
+ // ManifestFetchDelegate implementation.
+ virtual std::string GetBaseQueryParams() OVERRIDE;
+ virtual bool ShouldAlwaysCheckWebstore() OVERRIDE;
+ virtual std::string GetBrandCode() OVERRIDE;
not at google - send to devlin 2014/08/12 16:33:02 I guess that it's "nice", in some respects, to lum
+ virtual std::string GetPingParamsAndData(
+ const std::string& extension_id,
+ const ManifestFetchData::PingData& old_ping_data,
+ ManifestFetchData::PingData* new_ping_data) OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(DefaultManifestFetchDataDelegate);
+};
+
+} // namespace extensions
+
+#endif // EXTENSIONS_BROWSER_UPDATER_DEFAULT_MANIFEST_FETCH_DATA_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698