diff --git a/CefSharp.Core/Cef.h b/CefSharp.Core/Cef.h
index 06ef26f53..cb84a423e 100644
--- a/CefSharp.Core/Cef.h
+++ b/CefSharp.Core/Cef.h
@@ -337,7 +337,7 @@ namespace CefSharp
/// Flush the backing store (if any) to disk and execute the specified |handler| on the IO thread when done. Returns
/// A user-provided Cookie Visitor implementation.
/// Returns false if cookies cannot be accessed.
- static bool FlushStore(IComplete^ handler)
+ static bool FlushStore(ICompletionHandler^ handler)
{
CefRefPtr wrapper = new CompletionHandler(handler);
CefRefPtr manager = CefCookieManager::GetGlobalManager();
@@ -352,6 +352,7 @@ namespace CefSharp
return false;
}
}
+
/// Shuts down CefSharp and the underlying CEF infrastructure. This method is safe to call multiple times; it will only
/// shut down CEF on the first call (all subsequent calls will be ignored).
///
diff --git a/CefSharp.Core/Internals/CompletionHandler.h b/CefSharp.Core/Internals/CompletionHandler.h
index f7307a0de..2128ec28b 100644
--- a/CefSharp.Core/Internals/CompletionHandler.h
+++ b/CefSharp.Core/Internals/CompletionHandler.h
@@ -12,10 +12,10 @@ namespace CefSharp
private class CompletionHandler : public CefCompletionHandler
{
private:
- gcroot _handler;
+ gcroot _handler;
public:
- CompletionHandler(IComplete^ handler)
+ CompletionHandler(ICompletionHandler^ handler)
{
_handler = handler;
}
diff --git a/CefSharp/CefSharp.csproj b/CefSharp/CefSharp.csproj
index 5ae724c8c..efcd31424 100644
--- a/CefSharp/CefSharp.csproj
+++ b/CefSharp/CefSharp.csproj
@@ -97,7 +97,7 @@
-
+
diff --git a/CefSharp/IComplete.cs b/CefSharp/IComplete.cs
deleted file mode 100644
index dffb1bb2b..000000000
--- a/CefSharp/IComplete.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-using System.Net;
-
-namespace CefSharp
-{
- public interface IComplete
- {
- void OnComplete();
- }
-}
diff --git a/CefSharp/ICompletionHandler.cs b/CefSharp/ICompletionHandler.cs
new file mode 100644
index 000000000..809f12d86
--- /dev/null
+++ b/CefSharp/ICompletionHandler.cs
@@ -0,0 +1,7 @@
+namespace CefSharp
+{
+ public interface ICompletionHandler
+ {
+ void OnComplete();
+ }
+}