#include "components/password_manager/content/browser/bad_message.h"
#include "base/logging.h"
#include "base/metrics/histogram_functions.h"
#include "base/syslog_logging.h"
#include "components/password_manager/core/browser/password_form.h"
#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
namespace password_manager {
namespace bad_message {
namespace {
void ReceivedBadMessage(content::RenderProcessHost* host,
BadMessageReason reason) { … }
}
bool CheckForIllegalURL(content::RenderFrameHost* frame,
const GURL& form_url,
BadMessageReason reason) { … }
bool CheckChildProcessSecurityPolicyForURL(content::RenderFrameHost* frame,
const GURL& form_url,
BadMessageReason reason) { … }
bool CheckFrameNotPrerendering(content::RenderFrameHost* frame) { … }
}
}