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

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..fc30292995290d393dea8c687a5a0680c896b3e8
--- /dev/null
+++ b/apps/shell/browser/shell_omaha_query_params_delegate.h
@@ -0,0 +1,26 @@
+// 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_delegate.h"
+
+namespace extensions {
+
+class ShellOmahaQueryParamsDelegate
+ : public omaha_query_params::OmahaQueryParamsDelegate {
+ public:
+ ShellOmahaQueryParamsDelegate();
+ virtual ~ShellOmahaQueryParamsDelegate();
+
+ virtual std::string GetExtraParams() OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ShellOmahaQueryParamsDelegate);
+};
+
+} // namespace extensions
+
+#endif // APPS_SHELL_BROWSER_SHELL_OMAHA_QUERY_PARAMS_DELEGATE_H_
« no previous file with comments | « apps/shell/browser/shell_browser_main_parts.cc ('k') | apps/shell/browser/shell_omaha_query_params_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698