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

Side by Side Diff: Source/platform/Prerender.h

Issue 499213002: Cleanup redundant namespace usage in Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | Source/platform/mediastream/MediaStreamComponent.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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 25 matching lines...) Expand all
36 #include "platform/weborigin/KURL.h" 36 #include "platform/weborigin/KURL.h"
37 #include "platform/weborigin/ReferrerPolicy.h" 37 #include "platform/weborigin/ReferrerPolicy.h"
38 #include "wtf/OwnPtr.h" 38 #include "wtf/OwnPtr.h"
39 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
40 #include "wtf/PassRefPtr.h" 40 #include "wtf/PassRefPtr.h"
41 #include "wtf/RefCounted.h" 41 #include "wtf/RefCounted.h"
42 #include "wtf/RefPtr.h" 42 #include "wtf/RefPtr.h"
43 #include "wtf/text/WTFString.h" 43 #include "wtf/text/WTFString.h"
44 44
45 namespace blink { 45 namespace blink {
46 class WebPrerender;
47 }
48
49 namespace blink {
50 46
51 class PrerenderClient; 47 class PrerenderClient;
48 class WebPrerender;
52 49
53 class PLATFORM_EXPORT Prerender : public RefCounted<Prerender> { 50 class PLATFORM_EXPORT Prerender : public RefCounted<Prerender> {
54 WTF_MAKE_NONCOPYABLE(Prerender); 51 WTF_MAKE_NONCOPYABLE(Prerender);
55 public: 52 public:
56 class ExtraData : public RefCounted<ExtraData> { 53 class ExtraData : public RefCounted<ExtraData> {
57 public: 54 public:
58 virtual ~ExtraData() { } 55 virtual ~ExtraData() { }
59 }; 56 };
60 57
61 static PassRefPtr<Prerender> create(PrerenderClient*, const KURL&, unsigned relTypes, const String& referrer, ReferrerPolicy); 58 static PassRefPtr<Prerender> create(PrerenderClient*, const KURL&, unsigned relTypes, const String& referrer, ReferrerPolicy);
(...skipping 27 matching lines...) Expand all
89 const unsigned m_relTypes; 86 const unsigned m_relTypes;
90 const String m_referrer; 87 const String m_referrer;
91 const ReferrerPolicy m_referrerPolicy; 88 const ReferrerPolicy m_referrerPolicy;
92 89
93 RefPtr<ExtraData> m_extraData; 90 RefPtr<ExtraData> m_extraData;
94 }; 91 };
95 92
96 } 93 }
97 94
98 #endif // Prerender_h 95 #endif // Prerender_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/mediastream/MediaStreamComponent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698