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

Unified Diff: chrome/browser/translate/scoped_cld_standalone_data_harness.h

Issue 333603002: Modularize Compact Language Detector 2 (CLD2) data sources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use base/memory/scoped_ptr.h, not base/scoped_ptr.h 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: chrome/browser/translate/scoped_cld_standalone_data_harness.h
diff --git a/chrome/browser/translate/scoped_cld_standalone_data_harness.h b/chrome/browser/translate/scoped_cld_standalone_data_harness.h
new file mode 100644
index 0000000000000000000000000000000000000000..0995d55eb94150d1822cbf0360849724ab598199
--- /dev/null
+++ b/chrome/browser/translate/scoped_cld_standalone_data_harness.h
@@ -0,0 +1,29 @@
+// 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 CHROME_BROWSER_TRANSLATE_SCOPED_CLD_STANDALONE_DATA_HARNESS_H_
+#define CHROME_BROWSER_TRANSLATE_SCOPED_CLD_STANDALONE_DATA_HARNESS_H_
+
+#include "chrome/browser/translate/scoped_cld_data_harness.h"
+
+namespace test {
+
+class ScopedCldStandaloneDataHarness : public ScopedCldDataHarness {
+ public:
+ ScopedCldStandaloneDataHarness()
Takashi Toyoshima 2014/06/23 08:50:01 ';' is missing at the end of line
Andrew Hayden (chromium.org) 2014/06/23 13:20:36 I must have missed this when I was making the comp
+ virtual ~ScopedCldStandaloneDataHarness();
+ virtual void Init() OVERRIDE;
+
+ private:
+ void GetStandaloneDataFileSource(base::FilePath*);
+ void GetStandaloneDataFileDestination(base::FilePath*);
+ void DeleteStandaloneDataFile();
+ void CopyStandaloneDataFile();
+
+ DISALLOW_COPY_AND_ASSIGN(ScopedCldStandaloneDataHarness);
+};
+
+} // namespace test
+
+#endif // CHROME_BROWSER_TRANSLATE_SCOPED_CLD_STANDALONE_DATA_HARNESS_H_

Powered by Google App Engine
This is Rietveld 408576698