Commit 5fab0631 authored by thestig's avatar thestig Committed by Commit bot

Cleanup: Move InstantRestrictedIDCache from chrome/common to chrome/renderer.

Nobody is using it from chrome/browser anymore.

Review URL: https://codereview.chromium.org/684973003

Cr-Commit-Position: refs/heads/master@{#302234}
parent ceae3b24
......@@ -57,7 +57,6 @@
'common/icon_with_badge_image_source.h',
'common/ini_parser.cc',
'common/ini_parser.h',
'common/instant_restricted_id_cache.h',
'common/instant_types.cc',
'common/instant_types.h',
'common/localized_error.cc',
......
......@@ -55,6 +55,7 @@
'renderer/custom_menu_commands.h',
'renderer/external_extension.cc',
'renderer/external_extension.h',
'renderer/instant_restricted_id_cache.h',
'renderer/page_load_histograms.cc',
'renderer/page_load_histograms.h',
'renderer/plugins/chrome_plugin_placeholder.cc',
......
......@@ -1322,7 +1322,6 @@
'common/favicon/favicon_url_parser_unittest.cc',
'common/importer/firefox_importer_utils_unittest.cc',
'common/ini_parser_unittest.cc',
'common/instant_restricted_id_cache_unittest.cc',
'common/mac/cfbundle_blocker_unittest.mm',
'common/mac/mock_launchd.cc',
'common/mac/mock_launchd.h',
......@@ -1341,6 +1340,7 @@
'renderer/content_settings_observer_unittest.cc',
'renderer/extensions/extension_localization_peer_unittest.cc',
'renderer/extensions/renderer_permissions_policy_delegate_unittest.cc',
'renderer/instant_restricted_id_cache_unittest.cc',
'renderer/media/cast_ipc_dispatcher_unittest.cc',
'renderer/media/chrome_webrtc_log_message_delegate_unittest.cc',
'renderer/net/predictor_queue_unittest.cc',
......
......@@ -36,9 +36,6 @@ per-file spellcheck_result.h=rlp@chromium.org
per-file spellcheck_result.h=rouslan@chromium.org
# Instant/Search files.
per-file instant_restricted_id_cache*=kmadhusu@chromium.org
per-file instant_restricted_id_cache*=jered@chromium.org
per-file instant_restricted_id_cache*=samarth@chromium.org
per-file instant_types.*=kmadhusu@chromium.org
per-file instant_types.*=jered@chromium.org
per-file instant_types.*=samarth@chromium.org
......
# Instant/Search files.
per-file instant_restricted_id_cache*=kmadhusu@chromium.org
per-file instant_restricted_id_cache*=jered@chromium.org
per-file instant_restricted_id_cache*=samarth@chromium.org
# Page load metrics.
per-file page_load_histograms.*=ppi@chromium.org
per-file page_load_histograms.*=tonyg@chromium.org
......@@ -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 CHROME_COMMON_INSTANT_RESTRICTED_ID_CACHE_H_
#define CHROME_COMMON_INSTANT_RESTRICTED_ID_CACHE_H_
#ifndef CHROME_RENDERER_INSTANT_RESTRICTED_ID_CACHE_H_
#define CHROME_RENDERER_INSTANT_RESTRICTED_ID_CACHE_H_
#include <set>
#include <utility>
......@@ -162,4 +162,4 @@ bool InstantRestrictedIDCache<T>::GetItemWithRestrictedID(
return true;
}
#endif // CHROME_COMMON_INSTANT_RESTRICTED_ID_CACHE_H_
#endif // CHROME_RENDERER_INSTANT_RESTRICTED_ID_CACHE_H_
......@@ -5,7 +5,8 @@
#include <string>
#include <utility>
#include <vector>
#include "chrome/common/instant_restricted_id_cache.h"
#include "chrome/renderer/instant_restricted_id_cache.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
......
......@@ -9,10 +9,10 @@
#include "base/basictypes.h"
#include "base/strings/string16.h"
#include "chrome/common/instant_restricted_id_cache.h"
#include "chrome/common/instant_types.h"
#include "chrome/common/ntp_logging_events.h"
#include "chrome/common/omnibox_focus_state.h"
#include "chrome/renderer/instant_restricted_id_cache.h"
#include "content/public/renderer/render_view_observer.h"
#include "content/public/renderer/render_view_observer_tracker.h"
#include "ui/base/window_open_disposition.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment