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

Side by Side Diff: content/common/resource_request_body.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_COMMON_RESOURCE_REQUEST_BODY_H_ 5 #ifndef CONTENT_COMMON_RESOURCE_REQUEST_BODY_H_
6 #define CONTENT_COMMON_RESOURCE_REQUEST_BODY_H_ 6 #define CONTENT_COMMON_RESOURCE_REQUEST_BODY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 // Identifies a particular upload instance, which is used by the cache to 47 // Identifies a particular upload instance, which is used by the cache to
48 // formulate a cache key. This value should be unique across browser 48 // formulate a cache key. This value should be unique across browser
49 // sessions. A value of 0 is used to indicate an unspecified identifier. 49 // sessions. A value of 0 is used to indicate an unspecified identifier.
50 void set_identifier(int64 id) { identifier_ = id; } 50 void set_identifier(int64 id) { identifier_ = id; }
51 int64 identifier() const { return identifier_; } 51 int64 identifier() const { return identifier_; }
52 52
53 private: 53 private:
54 friend class base::RefCountedThreadSafe<ResourceRequestBody>; 54 friend class base::RefCountedThreadSafe<ResourceRequestBody>;
55 virtual ~ResourceRequestBody(); 55 ~ResourceRequestBody() override;
56 56
57 std::vector<Element> elements_; 57 std::vector<Element> elements_;
58 int64 identifier_; 58 int64 identifier_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ResourceRequestBody); 60 DISALLOW_COPY_AND_ASSIGN(ResourceRequestBody);
61 }; 61 };
62 62
63 } // namespace content 63 } // namespace content
64 64
65 #endif // CONTENT_COMMON_RESOURCE_REQUEST_BODY_H_ 65 #endif // CONTENT_COMMON_RESOURCE_REQUEST_BODY_H_
OLDNEW
« no previous file with comments | « content/common/one_writer_seqlock_unittest.cc ('k') | content/common/sandbox_mac_fontloading_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698