Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: Shared/PluginSystem.h

Issue 8949229: Removal of all user tracking and shareware parts (Closed)
Patch Set: Created Dec. 6, 2012, 4:38 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef _PLUGIN_SYSTEM_H_ 1 #ifndef _PLUGIN_SYSTEM_H_
2 #define _PLUGIN_SYSTEM_H_ 2 #define _PLUGIN_SYSTEM_H_
3 3
4 4
5 class CPluginSystem 5 class CPluginSystem
6 { 6 {
7 private: 7 private:
8 8
9 static CComAutoCriticalSection s_criticalSection; 9 static CComAutoCriticalSection s_criticalSection;
10 10
11 CString m_pluginId; 11 CString m_pluginId;
12 12
13 // Private constructor used by the singleton pattern 13 // Private constructor used by the singleton pattern
14 CPluginSystem(); 14 CPluginSystem();
15 15
16 public: 16 public:
17 static CPluginSystem* s_instance; 17 static CPluginSystem* s_instance;
18 18
19 static CPluginSystem* CPluginSystem::GetInstance(); 19 static CPluginSystem* CPluginSystem::GetInstance();
20 20
21 ~CPluginSystem(); 21 ~CPluginSystem();
22 22
23 CString GetBrowserLanguage() const; 23 CString GetBrowserLanguage() const;
24 CString GetBrowserVersion() const; 24 CString GetBrowserVersion() const;
25 CString GetUserName() const;
26 CString GetComputerName() const;
27 CString GetPluginId();
28 void SetPluginId(CString pluginId);
29 CString GetMacId(bool addSeparator=false) const;
30
31 private:
32
33 CString GeneratePluginId();
34 }; 25 };
35 26
36 #endif // _PLUGIN_SYSTEM_H_ 27 #endif // _PLUGIN_SYSTEM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld