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

Unified Diff: components/translate/content/renderer/renderer_cld_utils.h

Issue 2034413003: Delete the non-static CLD data source logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase to latest master Created 4 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: components/translate/content/renderer/renderer_cld_utils.h
diff --git a/components/translate/content/renderer/renderer_cld_utils.h b/components/translate/content/renderer/renderer_cld_utils.h
deleted file mode 100644
index e520a78a52dc70045f626410486599ee28f48507..0000000000000000000000000000000000000000
--- a/components/translate/content/renderer/renderer_cld_utils.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// 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 COMPONENTS_TRANSLATE_CONTENT_RENDERER_RENDERER_CLD_UTILS_H_
-#define COMPONENTS_TRANSLATE_CONTENT_RENDERER_RENDERER_CLD_UTILS_H_
-
-#include "base/macros.h"
-
-namespace translate {
-
-// Renderer-side utilities for dealing with CLD data source configuration.
-class RendererCldUtils {
- public:
- // Perform conditional configuration of the CLD data provider.
- // If no specific RendererCldDataProvider has yet been set, an instance is
- // created and assigned as appropriate for each platform. If a specific
- // RendererCldDataProviderFactory *has* been set, this method does nothing
- // (as a side effect of setting the default factory, subsequent invocations
- // do nothing - making this method reentrant).
- //
- // This method will not overwrite a data provider configured by an embedder.
- //
- // Maintainers: This is the default data source. It is appropriate to
- // ifdef this code and customize the default per-platform. This method must
- // be invoked prior to registering components with the component updater if
- // the component updater implementation is to be used; it is best to ensure
- // that this method is called as early as possible.
- static void ConfigureDefaultDataProvider();
-
- private:
- RendererCldUtils() {}
- ~RendererCldUtils() {}
- DISALLOW_COPY_AND_ASSIGN(RendererCldUtils);
-};
-
-} // namespace translate
-
-#endif // COMPONENTS_TRANSLATE_CONTENT_RENDERER_RENDERER_CLD_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698