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

Side by Side Diff: chrome/renderer/searchbox/search_bouncer.cc

Issue 2122903002: Move search-related files from chrome/common to chrome/common/search (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move search-related files Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « chrome/renderer/instant_restricted_id_cache.h ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/renderer/searchbox/search_bouncer.h" 5 #include "chrome/renderer/searchbox/search_bouncer.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
9 #include "chrome/common/search_urls.h" 9 #include "chrome/common/search/search_urls.h"
10 #include "content/public/renderer/render_thread_observer.h" 10 #include "content/public/renderer/render_thread_observer.h"
11 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
12 12
13 namespace { 13 namespace {
14 base::LazyInstance<SearchBouncer>::Leaky g_search_bouncer = 14 base::LazyInstance<SearchBouncer>::Leaky g_search_bouncer =
15 LAZY_INSTANCE_INITIALIZER; 15 LAZY_INSTANCE_INITIALIZER;
16 } // namespace 16 } // namespace
17 17
18 SearchBouncer::SearchBouncer() { 18 SearchBouncer::SearchBouncer() {
19 } 19 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 return handled; 52 return handled;
53 } 53 }
54 54
55 void SearchBouncer::OnSetSearchURLs( 55 void SearchBouncer::OnSetSearchURLs(
56 std::vector<GURL> search_urls, 56 std::vector<GURL> search_urls,
57 GURL new_tab_page_url) { 57 GURL new_tab_page_url) {
58 search_urls_ = search_urls; 58 search_urls_ = search_urls;
59 new_tab_page_url_ = new_tab_page_url; 59 new_tab_page_url_ = new_tab_page_url;
60 } 60 }
OLDNEW
« no previous file with comments | « chrome/renderer/instant_restricted_id_cache.h ('k') | chrome/renderer/searchbox/searchbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698