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

Unified Diff: chrome/browser/rlz/rlz_extension_api.h

Issue 23452008: Remove experimental.rlz extension api completely (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased again Created 7 years, 3 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 | « chrome/browser/extensions/extension_function_registry.cc ('k') | chrome/browser/rlz/rlz_extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/rlz/rlz_extension_api.h
diff --git a/chrome/browser/rlz/rlz_extension_api.h b/chrome/browser/rlz/rlz_extension_api.h
deleted file mode 100644
index a077e598efcce161ae64c37f9320718868ecbe42..0000000000000000000000000000000000000000
--- a/chrome/browser/rlz/rlz_extension_api.h
+++ /dev/null
@@ -1,81 +0,0 @@
-// Copyright (c) 2012 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_RLZ_RLZ_EXTENSION_API_H_
-#define CHROME_BROWSER_RLZ_RLZ_EXTENSION_API_H_
-
-#include "build/build_config.h"
-
-#if defined(ENABLE_RLZ)
-
-#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/extensions/extension_function.h"
-#include "rlz/lib/lib_values.h"
-
-class RlzRecordProductEventFunction : public SyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("experimental.rlz.recordProductEvent",
- EXPERIMENTAL_RLZ_RECORDPRODUCTEVENT)
-
- protected:
- virtual ~RlzRecordProductEventFunction() {}
-
- // ExtensionFunction:
- virtual bool RunImpl() OVERRIDE;
-};
-
-class RlzGetAccessPointRlzFunction : public SyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("experimental.rlz.getAccessPointRlz",
- EXPERIMENTAL_RLZ_GETACCESSPOINTRLZ)
-
- protected:
- virtual ~RlzGetAccessPointRlzFunction() {}
-
- // ExtensionFunction:
- virtual bool RunImpl() OVERRIDE;
-};
-
-class RlzSendFinancialPingFunction : public AsyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("experimental.rlz.sendFinancialPing",
- EXPERIMENTAL_RLZ_SENDFINANCIALPING)
-
- RlzSendFinancialPingFunction();
-
- protected:
- friend class MockRlzSendFinancialPingFunction;
- virtual ~RlzSendFinancialPingFunction();
-
- // ExtensionFunction:
- virtual bool RunImpl() OVERRIDE;
-
- private:
- void WorkOnWorkerThread();
- void RespondOnUIThread();
-
- rlz_lib::Product product_;
- scoped_ptr<rlz_lib::AccessPoint[]> access_points_;
- std::string signature_;
- std::string brand_;
- std::string id_;
- std::string lang_;
- bool exclude_machine_id_;
-};
-
-class RlzClearProductStateFunction : public SyncExtensionFunction {
- public:
- DECLARE_EXTENSION_FUNCTION("experimental.rlz.clearProductState",
- EXPERIMENTAL_RLZ_CLEARPRODUCTSTATE)
-
- protected:
- virtual ~RlzClearProductStateFunction() {}
-
- // ExtensionFunction:
- virtual bool RunImpl() OVERRIDE;
-};
-
-#endif // defined(ENABLE_RLZ)
-
-#endif // CHROME_BROWSER_RLZ_RLZ_EXTENSION_API_H_
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | chrome/browser/rlz/rlz_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698