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

Side by Side Diff: chrome_frame/navigation_constraints.h

Issue 18919005: Migrate from googleurl/ includes to url/ ones in the remaining top-level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make googleurl a temp include rule - to prevent others including it again Created 7 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
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | chrome_frame/utils.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FRAME_NAVIGATION_CONSTRAINTS_H_ 5 #ifndef CHROME_FRAME_NAVIGATION_CONSTRAINTS_H_
6 #define CHROME_FRAME_NAVIGATION_CONSTRAINTS_H_ 6 #define CHROME_FRAME_NAVIGATION_CONSTRAINTS_H_
7 7
8 #include <urlmon.h> 8 #include <urlmon.h>
9 #include <windows.h> 9 #include <windows.h>
10 10
11 #include "base/win/scoped_comptr.h" 11 #include "base/win/scoped_comptr.h"
12 #include "googleurl/src/gurl.h" 12 #include "url/gurl.h"
13 13
14 // Provides an interface which controls navigation within ChromeFrame. 14 // Provides an interface which controls navigation within ChromeFrame.
15 class NavigationConstraints { 15 class NavigationConstraints {
16 public: 16 public:
17 virtual ~NavigationConstraints() {} 17 virtual ~NavigationConstraints() {}
18 virtual bool AllowUnsafeUrls() = 0; 18 virtual bool AllowUnsafeUrls() = 0;
19 virtual bool IsSchemeAllowed(const GURL& url) = 0; 19 virtual bool IsSchemeAllowed(const GURL& url) = 0;
20 virtual bool IsZoneAllowed(const GURL& url) = 0; 20 virtual bool IsZoneAllowed(const GURL& url) = 0;
21 }; 21 };
22 22
(...skipping 16 matching lines...) Expand all
39 39
40 // The plugin is privileged if it is: 40 // The plugin is privileged if it is:
41 // * Being hosted by a custom host exposing the SID_ChromeFramePrivileged 41 // * Being hosted by a custom host exposing the SID_ChromeFramePrivileged
42 // service. 42 // service.
43 // 43 //
44 // When privileged, additional interfaces are made available to the user. 44 // When privileged, additional interfaces are made available to the user.
45 bool is_privileged_; 45 bool is_privileged_;
46 }; 46 };
47 47
48 #endif // CHROME_FRAME_NAVIGATION_CONSTRAINTS_H_ 48 #endif // CHROME_FRAME_NAVIGATION_CONSTRAINTS_H_
OLDNEW
« no previous file with comments | « chrome_frame/chrome_tab.cc ('k') | chrome_frame/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698