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

Side by Side Diff: third_party/WebKit/Source/wtf/text/WTFString.h

Issue 2636083002: WTF: Put String::show()'s definition into the WTF namespace. (Closed)
Patch Set: Created 3 years, 11 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 | third_party/WebKit/Source/wtf/text/WTFString.cpp » ('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 * (C) 1999 Lars Knoll (knoll@kde.org) 2 * (C) 1999 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
4 * All rights reserved. 4 * All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 } 419 }
420 420
421 // Hash table deleted values, which are only constructed and never copied or 421 // Hash table deleted values, which are only constructed and never copied or
422 // destroyed. 422 // destroyed.
423 String(WTF::HashTableDeletedValueType) : m_impl(WTF::HashTableDeletedValue) {} 423 String(WTF::HashTableDeletedValueType) : m_impl(WTF::HashTableDeletedValue) {}
424 bool isHashTableDeletedValue() const { 424 bool isHashTableDeletedValue() const {
425 return m_impl.isHashTableDeletedValue(); 425 return m_impl.isHashTableDeletedValue();
426 } 426 }
427 427
428 #ifndef NDEBUG 428 #ifndef NDEBUG
429 // For use in the debugger.
429 void show() const; 430 void show() const;
430 #endif 431 #endif
431 432
432 private: 433 private:
433 typedef struct ImplicitConversionFromWTFStringToBoolDisallowed*( 434 typedef struct ImplicitConversionFromWTFStringToBoolDisallowed*(
434 String::*UnspecifiedBoolType); 435 String::*UnspecifiedBoolType);
435 operator UnspecifiedBoolType() const; 436 operator UnspecifiedBoolType() const;
436 437
437 template <typename CharacterType> 438 template <typename CharacterType>
438 void appendInternal(CharacterType); 439 void appendInternal(CharacterType);
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 using WTF::String; 598 using WTF::String;
598 using WTF::emptyString; 599 using WTF::emptyString;
599 using WTF::emptyString16Bit; 600 using WTF::emptyString16Bit;
600 using WTF::charactersAreAllASCII; 601 using WTF::charactersAreAllASCII;
601 using WTF::equal; 602 using WTF::equal;
602 using WTF::find; 603 using WTF::find;
603 using WTF::isSpaceOrNewline; 604 using WTF::isSpaceOrNewline;
604 605
605 #include "wtf/text/AtomicString.h" 606 #include "wtf/text/AtomicString.h"
606 #endif // WTFString_h 607 #endif // WTFString_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/text/WTFString.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698