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

Side by Side Diff: content/public/browser/web_ui_controller_factory.h

Issue 10696166: Remove #pragma once from content (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 CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_
7 #pragma once
8 7
9 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
10 #include "content/public/browser/web_ui.h" 9 #include "content/public/browser/web_ui.h"
11 10
12 class GURL; 11 class GURL;
13 12
14 namespace content { 13 namespace content {
15 14
16 class BrowserContext; 15 class BrowserContext;
17 class WebContents; 16 class WebContents;
(...skipping 30 matching lines...) Expand all
48 // URLs with WebUI types (as above) and also URLs that can be loaded by 47 // URLs with WebUI types (as above) and also URLs that can be loaded by
49 // normal tabs such as javascript: URLs or about:hang. 48 // normal tabs such as javascript: URLs or about:hang.
50 virtual bool IsURLAcceptableForWebUI(BrowserContext* browser_context, 49 virtual bool IsURLAcceptableForWebUI(BrowserContext* browser_context,
51 const GURL& url, 50 const GURL& url,
52 bool data_urls_allowed) const = 0; 51 bool data_urls_allowed) const = 0;
53 }; 52 };
54 53
55 } // namespace content 54 } // namespace content
56 55
57 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_ 56 #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_CONTROLLER_FACTORY_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_ui_controller.h ('k') | content/public/browser/web_ui_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698