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

Unified Diff: apps/shell/browser/shell_omaha_query_params_delegate.h

Issue 333353005: Move OmahaQueryParams to a component and add a delegate interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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: apps/shell/browser/shell_omaha_query_params_delegate.h
diff --git a/apps/shell/browser/shell_omaha_query_params_delegate.h b/apps/shell/browser/shell_omaha_query_params_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..7d9120b0351b50ccd8054783c5e044af6f091f76
--- /dev/null
+++ b/apps/shell/browser/shell_omaha_query_params_delegate.h
@@ -0,0 +1,24 @@
+// 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 APPS_SHELL_BROWSER_SHELL_OMAHA_QUERY_PARAMS_DELEGATE_H_
+#define APPS_SHELL_BROWSER_SHELL_OMAHA_QUERY_PARAMS_DELEGATE_H_
+
+#include "components/omaha_query_params/omaha_query_params.h"
+
+namespace extensions {
+
+class ShellOmahaQueryParamsDelegate : public OmahaQueryParamsDelegate {
+ public:
+ ShellOmahaQueryParamsDelegate();
+ virtual ~ShellOmahaQueryParamsDelegate();
+
+ virtual std::string GetExtraParams() OVERRIDE;
+
+ DISALLOW_COPY_AND_ASSIGN(ShellOmahaQueryParamsDelegate);
jochen (gone - plz use gerrit) 2014/06/24 08:52:31 should be private
+};
+
+} // namespace extensions
+
+#endif // APPS_SHELL_BROWSER_SHELL_OMAHA_QUERY_PARAMS_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698