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

Unified Diff: src/plugin/PluginTabBase.h

Issue 11292028: Status bar menu added (Closed)
Patch Set: Created July 29, 2013, 5:25 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/plugin/PluginTabBase.h
===================================================================
--- a/src/plugin/PluginTabBase.h
+++ b/src/plugin/PluginTabBase.h
@@ -11,6 +11,19 @@
class CPluginClass;
+namespace
+{
+ CString ExtractDomain(const CString& url)
+ {
+ int pos = 0;
+ if (url.Find('/', pos) >= 0)
+ url.Tokenize(L"/", pos);
+ CString domain = url.Tokenize(L"/", pos);
+ domain.MakeLower();
+ return domain;
+ }
+}
Wladimir Palant 2013/08/01 10:48:19 I don't see the point of moving this function. Fun
+
class CPluginTabBase
{

Powered by Google App Engine
This is Rietveld