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

Side by Side Diff: chrome/browser/component_updater/cld_component_installer.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // This method is threadsafe. 61 // This method is threadsafe.
62 static void SetLatestCldDataFile(const base::FilePath& path); 62 static void SetLatestCldDataFile(const base::FilePath& path);
63 63
64 // Returns the file path that was most recently set in SetLatestCldDataFile. 64 // Returns the file path that was most recently set in SetLatestCldDataFile.
65 static base::FilePath GetLatestCldDataFile(); 65 static base::FilePath GetLatestCldDataFile();
66 66
67 DISALLOW_COPY_AND_ASSIGN(CldComponentInstallerTraits); 67 DISALLOW_COPY_AND_ASSIGN(CldComponentInstallerTraits);
68 }; 68 };
69 69
70 // Call once during startup to make the component update service aware of 70 // Call once during startup to make the component update service aware of
71 // the CLD component. 71 // the CLD component. This method does nothing if the configured CLD data source
72 // is not the "Component" data source.
72 void RegisterCldComponent(ComponentUpdateService* cus); 73 void RegisterCldComponent(ComponentUpdateService* cus);
73 74
74 } // namespace component_updater 75 } // namespace component_updater
75 76
76 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_ 77 #endif // CHROME_BROWSER_COMPONENT_UPDATER_CLD_COMPONENT_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/component_updater/cld_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698