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

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

Issue 424053002: Add a new "Configure" mechanism to CLD browser-side data interfaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sorin@'s comments Created 6 years, 5 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/browser/data_file_browser_cld_data_provider.h
diff --git a/components/translate/content/browser/data_file_browser_cld_data_provider.h b/components/translate/content/browser/data_file_browser_cld_data_provider.h
index 9344bd7932c758060af38bcdb3177e3224d564c0..2bfca1d25053d1f4301f35b06628c58351611464 100644
--- a/components/translate/content/browser/data_file_browser_cld_data_provider.h
+++ b/components/translate/content/browser/data_file_browser_cld_data_provider.h
@@ -23,19 +23,6 @@ class DataFileBrowserCldDataProvider : public BrowserCldDataProvider {
virtual void OnCldDataRequest() OVERRIDE;
virtual void SendCldDataResponse() OVERRIDE;
- // Sets the data file that this data provider will use to fulfill requests.
- // This method does nothing if the specified path is equal to the path that
- // is already configured. Otherwise, the specified path is cached and
- // subsequent requests for data will attempt to load CLD data from the file
- // at the specified path.
- // This method is threadsafe.
- static void SetCldDataFilePath(const base::FilePath& filePath);
-
- // Returns the path most recently set by SetDataFilePath. The initial value
- // prior to any such call is the empty path.
- // This method is threadsafe.
- static base::FilePath GetCldDataFilePath();
-
private:
void SendCldDataResponseInternal(const base::File*,
const uint64,

Powered by Google App Engine
This is Rietveld 408576698