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

Side by Side Diff: src/plugin/PluginSystem.h

Issue 4772743157383168: Issue #276 - eliminate CString from GetBrowserLanguage (Closed)
Patch Set: Created July 30, 2014, 8:50 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
« no previous file with comments | « src/plugin/PluginSettings.cpp ('k') | src/plugin/PluginSystem.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include <string>
5 class CPluginSystem 5 std::wstring GetBrowserLanguage();
6 {
7 private:
8
9 static CComAutoCriticalSection s_criticalSection;
10
11 // Private constructor used by the singleton pattern
12 CPluginSystem();
13
14 public:
15 static CPluginSystem* s_instance;
16
17 static CPluginSystem* CPluginSystem::GetInstance();
18
19 ~CPluginSystem();
20
21 CString GetBrowserLanguage() const;
22 };
23 6
24 #endif // _PLUGIN_SYSTEM_H_ 7 #endif // _PLUGIN_SYSTEM_H_
OLDNEW
« no previous file with comments | « src/plugin/PluginSettings.cpp ('k') | src/plugin/PluginSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld