Index: chrome/browser/component_updater/cld_component_installer.h |
diff --git a/chrome/browser/component_updater/cld_component_installer.h b/chrome/browser/component_updater/cld_component_installer.h |
index 396ebab07d3b3daf308710978a478e5bcc2495b1..0dac4b151f799abd6a6639ae7f5669b44daee9b3 100644 |
--- a/chrome/browser/component_updater/cld_component_installer.h |
+++ b/chrome/browser/component_updater/cld_component_installer.h |
@@ -12,6 +12,10 @@ |
#include "base/gtest_prod_util.h" |
#include "chrome/browser/component_updater/default_component_installer.h" |
+namespace test { |
+class ScopedCLDDynamicDataHarness; |
+} // namespace test |
+ |
namespace component_updater { |
class ComponentUpdateService; |
@@ -24,6 +28,7 @@ class CldComponentInstallerTraits : public ComponentInstallerTraits { |
private: |
friend class CldComponentInstallerTest; // For access within SetUp() |
+ friend class test::ScopedCLDDynamicDataHarness; // For browser tests only |
FRIEND_TEST_ALL_PREFIXES(CldComponentInstallerTest, ComponentReady); |
FRIEND_TEST_ALL_PREFIXES(CldComponentInstallerTest, GetBaseDirectory); |
FRIEND_TEST_ALL_PREFIXES(CldComponentInstallerTest, GetHash); |
@@ -48,7 +53,7 @@ class CldComponentInstallerTraits : public ComponentInstallerTraits { |
virtual std::string GetName() const OVERRIDE; |
base::FilePath GetInstalledPath(const base::FilePath& base) const; |
- void SetLatestCldDataFile(const base::FilePath& path); |
+ static void SetLatestCldDataFile(const base::FilePath& path); |
Takashi Toyoshima
2014/05/19 14:32:24
Is there any reason to have SetLatestCldDataFile()
Takashi Toyoshima
2014/05/19 16:14:20
how about this?
|
DISALLOW_COPY_AND_ASSIGN(CldComponentInstallerTraits); |
}; |