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

Side by Side Diff: Source/modules/donottrack/NavigatorDoNotTrack.cpp

Issue 99733006: Remove duplicated headers from modules/ directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 13 matching lines...) Expand all
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "modules/donottrack/NavigatorDoNotTrack.h" 32 #include "modules/donottrack/NavigatorDoNotTrack.h"
33 33
34 #include "core/loader/FrameLoader.h"
Nico 2013/12/09 02:01:27 There's a call to `loader().something` below, so I
35 #include "core/loader/FrameLoaderClient.h" 34 #include "core/loader/FrameLoaderClient.h"
36 #include "core/frame/Frame.h" 35 #include "core/frame/Frame.h"
37 #include "core/frame/Navigator.h" 36 #include "core/frame/Navigator.h"
38 #include "wtf/PassOwnPtr.h"
39 37
40 namespace WebCore { 38 namespace WebCore {
41 39
42 NavigatorDoNotTrack::NavigatorDoNotTrack(Frame* frame) 40 NavigatorDoNotTrack::NavigatorDoNotTrack(Frame* frame)
43 : DOMWindowProperty(frame) 41 : DOMWindowProperty(frame)
44 { 42 {
45 } 43 }
46 44
47 NavigatorDoNotTrack::~NavigatorDoNotTrack() 45 NavigatorDoNotTrack::~NavigatorDoNotTrack()
48 { 46 {
(...skipping 18 matching lines...) Expand all
67 { 65 {
68 return NavigatorDoNotTrack::from(navigator)->doNotTrack(); 66 return NavigatorDoNotTrack::from(navigator)->doNotTrack();
69 } 67 }
70 68
71 String NavigatorDoNotTrack::doNotTrack() 69 String NavigatorDoNotTrack::doNotTrack()
72 { 70 {
73 return frame() ? frame()->loader().client()->doNotTrackValue() : String(); 71 return frame() ? frame()->loader().client()->doNotTrackValue() : String();
74 } 72 }
75 73
76 } // namespace WebCore 74 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/modules/indexeddb/IDBCursor.h » ('j') | Source/modules/indexeddb/IDBCursor.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698