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

Side by Side Diff: content/child/npapi/plugin_stream_url.h

Issue 630743005: Replace OVERRIDE and FINAL with override and final in content/child/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « content/child/npapi/npobject_stub.h ('k') | content/child/npapi/plugin_url_fetcher.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) 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_CHILD_NPAPI_PLUGIN_STREAM_URL_H_ 5 #ifndef CONTENT_CHILD_NPAPI_PLUGIN_STREAM_URL_H_
6 #define CONTENT_CHILD_NPAPI_PLUGIN_STREAM_URL_H_ 6 #define CONTENT_CHILD_NPAPI_PLUGIN_STREAM_URL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 21 matching lines...) Expand all
32 32
33 void SetPluginURLFetcher(PluginURLFetcher* fetcher); 33 void SetPluginURLFetcher(PluginURLFetcher* fetcher);
34 34
35 void URLRedirectResponse(bool allow); 35 void URLRedirectResponse(bool allow);
36 36
37 void FetchRange(const std::string& range); 37 void FetchRange(const std::string& range);
38 38
39 // Stop sending the stream to the client. 39 // Stop sending the stream to the client.
40 // Overrides the base Close so we can cancel our fetching the URL if 40 // Overrides the base Close so we can cancel our fetching the URL if
41 // it is still loading. 41 // it is still loading.
42 virtual bool Close(NPReason reason) OVERRIDE; 42 virtual bool Close(NPReason reason) override;
43 virtual WebPluginResourceClient* AsResourceClient() OVERRIDE; 43 virtual WebPluginResourceClient* AsResourceClient() override;
44 virtual void CancelRequest() OVERRIDE; 44 virtual void CancelRequest() override;
45 45
46 // WebPluginResourceClient methods 46 // WebPluginResourceClient methods
47 virtual void WillSendRequest(const GURL& url, int http_status_code) OVERRIDE; 47 virtual void WillSendRequest(const GURL& url, int http_status_code) override;
48 virtual void DidReceiveResponse(const std::string& mime_type, 48 virtual void DidReceiveResponse(const std::string& mime_type,
49 const std::string& headers, 49 const std::string& headers,
50 uint32 expected_length, 50 uint32 expected_length,
51 uint32 last_modified, 51 uint32 last_modified,
52 bool request_is_seekable) OVERRIDE; 52 bool request_is_seekable) override;
53 virtual void DidReceiveData(const char* buffer, 53 virtual void DidReceiveData(const char* buffer,
54 int length, 54 int length,
55 int data_offset) OVERRIDE; 55 int data_offset) override;
56 virtual void DidFinishLoading(unsigned long resource_id) OVERRIDE; 56 virtual void DidFinishLoading(unsigned long resource_id) override;
57 virtual void DidFail(unsigned long resource_id) OVERRIDE; 57 virtual void DidFail(unsigned long resource_id) override;
58 virtual bool IsMultiByteResponseExpected() OVERRIDE; 58 virtual bool IsMultiByteResponseExpected() override;
59 virtual int ResourceId() OVERRIDE; 59 virtual int ResourceId() override;
60 virtual void AddRangeRequestResourceId(unsigned long resource_id) OVERRIDE; 60 virtual void AddRangeRequestResourceId(unsigned long resource_id) override;
61 61
62 protected: 62 protected:
63 virtual ~PluginStreamUrl(); 63 virtual ~PluginStreamUrl();
64 64
65 private: 65 private:
66 void SetDeferLoading(bool value); 66 void SetDeferLoading(bool value);
67 67
68 // In case of a redirect, this can be called to update the url. But it must 68 // In case of a redirect, this can be called to update the url. But it must
69 // be called before Open(). 69 // be called before Open().
70 void UpdateUrl(const char* url); 70 void UpdateUrl(const char* url);
(...skipping 15 matching lines...) Expand all
86 std::string pending_redirect_url_; 86 std::string pending_redirect_url_;
87 87
88 scoped_ptr<PluginURLFetcher> plugin_url_fetcher_; 88 scoped_ptr<PluginURLFetcher> plugin_url_fetcher_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(PluginStreamUrl); 90 DISALLOW_COPY_AND_ASSIGN(PluginStreamUrl);
91 }; 91 };
92 92
93 } // namespace content 93 } // namespace content
94 94
95 #endif // CONTENT_CHILD_NPAPI_PLUGIN_STREAM_URL_H_ 95 #endif // CONTENT_CHILD_NPAPI_PLUGIN_STREAM_URL_H_
OLDNEW
« no previous file with comments | « content/child/npapi/npobject_stub.h ('k') | content/child/npapi/plugin_url_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698