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

Side by Side Diff: src/platform.h

Issue 27089: Fixed lint errors.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/platform-freebsd.cc » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 421
422 // ---------------------------------------------------------------------------- 422 // ----------------------------------------------------------------------------
423 // Socket 423 // Socket
424 // 424 //
425 425
426 class Socket { 426 class Socket {
427 public: 427 public:
428 virtual ~Socket() {} 428 virtual ~Socket() {}
429 429
430 // Server initialization. 430 // Server initialization.
431 virtual bool Bind (const int port) = 0; 431 virtual bool Bind(const int port) = 0;
432 virtual bool Listen(int backlog) const = 0; 432 virtual bool Listen(int backlog) const = 0;
433 virtual Socket* Accept() const = 0; 433 virtual Socket* Accept() const = 0;
434 434
435 // Client initialization. 435 // Client initialization.
436 virtual bool Connect(const char* host, const char* port) = 0; 436 virtual bool Connect(const char* host, const char* port) = 0;
437 437
438 // Data Transimission 438 // Data Transimission
439 virtual int Send(const char* data, int len) const = 0; 439 virtual int Send(const char* data, int len) const = 0;
440 virtual bool SendAll(const char* data, int len) const = 0; 440 virtual bool SendAll(const char* data, int len) const = 0;
441 virtual int Receive(char* data, int len) const = 0; 441 virtual int Receive(char* data, int len) const = 0;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 bool active_; 514 bool active_;
515 PlatformData* data_; // Platform specific data. 515 PlatformData* data_; // Platform specific data.
516 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); 516 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler);
517 }; 517 };
518 518
519 #endif // ENABLE_LOGGING_AND_PROFILING 519 #endif // ENABLE_LOGGING_AND_PROFILING
520 520
521 } } // namespace v8::internal 521 } } // namespace v8::internal
522 522
523 #endif // V8_PLATFORM_H_ 523 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « no previous file | src/platform-freebsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698