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

Unified Diff: components/predictor/common/predictor_common.h

Issue 644123002: Componentize renderer side of DNS prefetching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix IPC message Created 6 years, 2 months 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: components/predictor/common/predictor_common.h
diff --git a/chrome/common/net/predictor_common.h b/components/predictor/common/predictor_common.h
similarity index 73%
rename from chrome/common/net/predictor_common.h
rename to components/predictor/common/predictor_common.h
index 208ee3c70c6552a35f32692dfd9ed57b05860155..a1e283c6da0a14af95d6ff56654563457cc7f3c0 100644
--- a/chrome/common/net/predictor_common.h
+++ b/components/predictor/common/predictor_common.h
@@ -2,18 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// This file has shared types used across IPC between render_dns_master.cc
-// and dns_master.cc
-
-#ifndef CHROME_COMMON_NET_PREDICTOR_COMMON_H_
-#define CHROME_COMMON_NET_PREDICTOR_COMMON_H_
+#ifndef COMPONENTS_PREDICTOR_COMMON_PREDICTOR_COMMON_H_
+#define COMPONENTS_PREDICTOR_COMMON_PREDICTOR_COMMON_H_
#include <string>
#include <vector>
#include "url/gurl.h"
-namespace chrome_common_net {
+namespace predictor {
// IPC messages are passed from the renderer to the browser in the form of
// Namelist instances.
@@ -26,4 +23,4 @@ typedef std::vector<std::string> NameList;
typedef std::vector<GURL> UrlList;
}
-#endif // CHROME_COMMON_NET_PREDICTOR_COMMON_H_
+#endif // COMPONENTS_PREDICTOR_COMMON_PREDICTOR_COMMON_H_

Powered by Google App Engine
This is Rietveld 408576698