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

Unified Diff: components/translate/content/browser/static_browser_cld_data_provider.h

Issue 461633002: Refactor language detection logic to allow non-static CLD data sources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make some of the harness factory methods private Created 6 years, 1 month 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/browser/static_browser_cld_data_provider.h
diff --git a/components/translate/content/browser/static_browser_cld_data_provider.h b/components/translate/content/browser/static_browser_cld_data_provider.h
deleted file mode 100644
index 04a42329857d921df8589b372c9465c9c1fcd8d1..0000000000000000000000000000000000000000
--- a/components/translate/content/browser/static_browser_cld_data_provider.h
+++ /dev/null
@@ -1,28 +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_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_
-#define COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_
-
-#include "base/macros.h"
-#include "components/translate/content/browser/browser_cld_data_provider.h"
-
-namespace translate {
-
-class StaticBrowserCldDataProvider : public BrowserCldDataProvider {
- public:
- explicit StaticBrowserCldDataProvider();
- ~StaticBrowserCldDataProvider() override;
- // BrowserCldDataProvider implementations:
- bool OnMessageReceived(const IPC::Message&) override;
- void OnCldDataRequest() override;
- void SendCldDataResponse() override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(StaticBrowserCldDataProvider);
-};
-
-} // namespace translate
-
-#endif // COMPONENTS_TRANSLATE_CONTENT_BROWSER_STATIC_BROWSER_CLD_DATA_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698