Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: content/browser/loader/resource_controller.h

Issue 2554273002: Unexport resource_controller.h (Closed)
Patch Set: content_unittests build Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/resource_controller.h
diff --git a/content/public/browser/resource_controller.h b/content/browser/loader/resource_controller.h
similarity index 83%
rename from content/public/browser/resource_controller.h
rename to content/browser/loader/resource_controller.h
index e18d0ae0166516e4bac086c11e5d252271d07c91..f21a2039b0f6983c1e69ff4fca6e01fcd6cb7d43 100644
--- a/content/public/browser/resource_controller.h
+++ b/content/browser/loader/resource_controller.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_RESOURCE_CONTROLLER_H_
-#define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTROLLER_H_
+#ifndef CONTENT_BROWSER_LOADER_RESOURCE_CONTROLLER_H_
+#define CONTENT_BROWSER_LOADER_RESOURCE_CONTROLLER_H_
#include "content/common/content_export.h"
@@ -20,10 +20,11 @@ class CONTENT_EXPORT ResourceController {
virtual void CancelAndIgnore() = 0;
virtual void CancelWithError(int error_code) = 0;
virtual void Resume() = 0;
+
protected:
virtual ~ResourceController() {}
};
} // namespace content
-#endif // CONTENT_PUBLIC_BROWSER_RESOURCE_CONTROLLER_H_
+#endif // CONTENT_BROWSER_LOADER_RESOURCE_CONTROLLER_H_
« no previous file with comments | « content/browser/loader/redirect_to_file_resource_handler.cc ('k') | content/browser/loader/resource_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698