Index: content/public/browser/javascript_dialog_manager.h |
diff --git a/content/public/browser/javascript_dialogs.h b/content/public/browser/javascript_dialog_manager.h |
similarity index 85% |
rename from content/public/browser/javascript_dialogs.h |
rename to content/public/browser/javascript_dialog_manager.h |
index 9c67d9397fb01ac7262e70f03e4978025abc4801..64f7b9b3a55bfef8ff9ac532a9b4e691a93d1770 100644 |
--- a/content/public/browser/javascript_dialogs.h |
+++ b/content/public/browser/javascript_dialog_manager.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ |
-#define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ |
+#ifndef CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_ |
+#define CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_ |
#include <string> |
@@ -18,9 +18,9 @@ namespace content { |
class WebContents; |
-// An interface consisting of methods that can be called to produce JavaScript |
-// dialogs. |
-class JavaScriptDialogCreator { |
+// An interface consisting of methods that can be called to produce and manage |
+// JavaScript dialogs. |
+class JavaScriptDialogManager { |
public: |
typedef base::Callback<void(bool /* success */, |
const string16& /* user_input */)> |
@@ -48,9 +48,9 @@ class JavaScriptDialogCreator { |
// for the given WebContents. |
virtual void ResetJavaScriptState(WebContents* web_contents) = 0; |
- virtual ~JavaScriptDialogCreator() {} |
+ virtual ~JavaScriptDialogManager() {} |
}; |
} // namespace content |
-#endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOGS_H_ |
+#endif // CONTENT_PUBLIC_BROWSER_JAVASCRIPT_DIALOG_MANAGER_H_ |