summaryrefslogtreecommitdiffstats
path: root/chrome/browser/visitedlink/visitedlink_unittest.cc
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 23:35:50 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-19 23:35:50 +0000
commit2ccf45c50fad0f2c3c20d95eef6d0040b565b291 (patch)
tree73eac41769a4678fcdb566e78d6e3bde7c10617c /chrome/browser/visitedlink/visitedlink_unittest.cc
parentda930e1b7adfb28f6895d95004c25984af627080 (diff)
downloadchromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.zip
chromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.tar.gz
chromium_src-2ccf45c50fad0f2c3c20d95eef6d0040b565b291.tar.bz2
Prefix all IPC messages used by src\chrome with Chrome. For e.g ChromeViewMsg_, ChromeViewHostMsg, etc.
This makes it easier to identify which messages are specific to content and chrome. This is a preparation CL for bug http://code.google.com/p/chromium/issues/detail?id=87335 which requires IPC's to not span across content and chrome. When IPC's cross these boundaries they need to be handled as API calls. BUG=87335 Review URL: http://codereview.chromium.org/7631063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97536 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/visitedlink/visitedlink_unittest.cc')
-rw-r--r--chrome/browser/visitedlink/visitedlink_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/visitedlink/visitedlink_unittest.cc b/chrome/browser/visitedlink/visitedlink_unittest.cc
index 581852b..36d78c7 100644
--- a/chrome/browser/visitedlink/visitedlink_unittest.cc
+++ b/chrome/browser/visitedlink/visitedlink_unittest.cc
@@ -528,12 +528,12 @@ class VisitRelayingRenderProcessHost : public BrowserRenderProcessHost {
static_cast<VisitCountingProfile*>(
Profile::FromBrowserContext(browser_context()));
- if (msg->type() == ViewMsg_VisitedLink_Add::ID) {
+ if (msg->type() == ChromeViewMsg_VisitedLink_Add::ID) {
void* iter = NULL;
std::vector<uint64> fingerprints;
CHECK(IPC::ReadParam(msg, &iter, &fingerprints));
counting_profile->CountAddEvent(fingerprints.size());
- } else if (msg->type() == ViewMsg_VisitedLink_Reset::ID) {
+ } else if (msg->type() == ChromeViewMsg_VisitedLink_Reset::ID) {
counting_profile->CountResetEvent();
}