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

Side by Side Diff: components/search_engines/template_url_prepopulate_data.h

Issue 355853002: Componentize TemplateURLPrepopulateData, DefaultSearchManager and DefaultSearchPolicyHandler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing comma in gyp Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ 5 #ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ 6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/scoped_vector.h" 13 #include "base/memory/scoped_vector.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "components/search_engines/search_engine_type.h" 15 #include "components/search_engines/search_engine_type.h"
16 16
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // NOTE: Must be called on the UI thread. 66 // NOTE: Must be called on the UI thread.
67 SearchEngineType GetEngineType(const TemplateURL& template_url, 67 SearchEngineType GetEngineType(const TemplateURL& template_url,
68 const SearchTermsData& search_terms_data); 68 const SearchTermsData& search_terms_data);
69 69
70 // Like the above, but takes a GURL which is expected to represent a search URL. 70 // Like the above, but takes a GURL which is expected to represent a search URL.
71 // This may be called on any thread. 71 // This may be called on any thread.
72 SearchEngineType GetEngineType(const GURL& url); 72 SearchEngineType GetEngineType(const GURL& url);
73 73
74 } // namespace TemplateURLPrepopulateData 74 } // namespace TemplateURLPrepopulateData
75 75
76 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ 76 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698