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

Side by Side Diff: chrome/browser/search_engines/template_url_prepopulate_data.h

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | 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 CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_
7 #pragma once
8 7
9 #include <stddef.h> 8 #include <stddef.h>
10 #include <string> 9 #include <string>
11 #include <vector> 10 #include <vector>
12 11
13 #include "base/string16.h" 12 #include "base/string16.h"
14 #include "chrome/browser/search_engines/search_engine_type.h" 13 #include "chrome/browser/search_engines/search_engine_type.h"
15 14
16 class GURL; 15 class GURL;
17 class PrefService; 16 class PrefService;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Returns the type of the matching engine, or SEARCH_ENGINE_OTHER if no engines 53 // Returns the type of the matching engine, or SEARCH_ENGINE_OTHER if no engines
55 // match. This uses same-origin checks unless the |url| is a Google seach URL, 54 // match. This uses same-origin checks unless the |url| is a Google seach URL,
56 // in which case we'll identify any valid Google hostname as "Google". 55 // in which case we'll identify any valid Google hostname as "Google".
57 // 56 //
58 // NOTE: Must be called on the UI thread. 57 // NOTE: Must be called on the UI thread.
59 SearchEngineType GetEngineType(const std::string& url); 58 SearchEngineType GetEngineType(const std::string& url);
60 59
61 } // namespace TemplateURLPrepopulateData 60 } // namespace TemplateURLPrepopulateData
62 61
63 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_ 62 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_PREPOPULATE_DATA_H_
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_parser.h ('k') | chrome/browser/search_engines/template_url_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698