File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -417,12 +417,12 @@ inline void Environment::set_http_parser_buffer(char* buffer) {
417
417
http_parser_buffer_ = buffer;
418
418
}
419
419
420
- inline http2::http2_state * Environment::http2_state () const {
420
+ inline http2::Http2State * Environment::http2_state () const {
421
421
return http2_state_.get ();
422
422
}
423
423
424
424
inline void Environment::set_http2_state (
425
- std::unique_ptr<http2::http2_state > buffer) {
425
+ std::unique_ptr<http2::Http2State > buffer) {
426
426
CHECK (!http2_state_); // Should be set only once.
427
427
http2_state_ = std::move (buffer);
428
428
}
Original file line number Diff line number Diff line change @@ -617,8 +617,8 @@ class Environment {
617
617
inline char * http_parser_buffer () const ;
618
618
inline void set_http_parser_buffer (char * buffer);
619
619
620
- inline http2::http2_state * http2_state () const ;
621
- inline void set_http2_state (std::unique_ptr<http2::http2_state > state);
620
+ inline http2::Http2State * http2_state () const ;
621
+ inline void set_http2_state (std::unique_ptr<http2::Http2State > state);
622
622
623
623
inline double * fs_stats_field_array () const ;
624
624
inline void set_fs_stats_field_array (double * fields);
@@ -759,7 +759,7 @@ class Environment {
759
759
double * heap_space_statistics_buffer_ = nullptr ;
760
760
761
761
char * http_parser_buffer_;
762
- std::unique_ptr<http2::http2_state > http2_state_;
762
+ std::unique_ptr<http2::Http2State > http2_state_;
763
763
764
764
double * fs_stats_field_array_;
765
765
Original file line number Diff line number Diff line change @@ -2868,7 +2868,7 @@ void Initialize(Local<Object> target,
2868
2868
Isolate* isolate = env->isolate ();
2869
2869
HandleScope scope (isolate);
2870
2870
2871
- std::unique_ptr<http2_state > state (new http2_state (isolate));
2871
+ std::unique_ptr<Http2State > state (new Http2State (isolate));
2872
2872
2873
2873
#define SET_STATE_TYPEDARRAY (name, field ) \
2874
2874
target->Set (context, \
Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ namespace http2 {
84
84
IDX_SESSION_STATS_COUNT
85
85
};
86
86
87
- class http2_state {
87
+ class Http2State {
88
88
public:
89
- explicit http2_state (v8::Isolate* isolate) :
89
+ explicit Http2State (v8::Isolate* isolate) :
90
90
root_buffer(
91
91
isolate,
92
92
sizeof (http2_state_internal)),
You can’t perform that action at this time.
0 commit comments