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

Side by Side Diff: Source/web/WebSpeechGrammar.cpp

Issue 471503002: Cleanup namespace usage in Source/web/Web[I-Z]*.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « Source/web/WebSocketImpl.cpp ('k') | Source/web/WebSpeechRecognitionHandle.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 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 23 matching lines...) Expand all
34 void WebSpeechGrammar::reset() 34 void WebSpeechGrammar::reset()
35 { 35 {
36 m_private.reset(); 36 m_private.reset();
37 } 37 }
38 38
39 void WebSpeechGrammar::assign(const WebSpeechGrammar& other) 39 void WebSpeechGrammar::assign(const WebSpeechGrammar& other)
40 { 40 {
41 m_private = other.m_private; 41 m_private = other.m_private;
42 } 42 }
43 43
44 WebSpeechGrammar::WebSpeechGrammar(blink::SpeechGrammar* value) 44 WebSpeechGrammar::WebSpeechGrammar(SpeechGrammar* value)
45 : m_private(value) 45 : m_private(value)
46 { 46 {
47 } 47 }
48 48
49 WebSpeechGrammar& WebSpeechGrammar::operator=(blink::SpeechGrammar* value) 49 WebSpeechGrammar& WebSpeechGrammar::operator=(SpeechGrammar* value)
50 { 50 {
51 m_private = value; 51 m_private = value;
52 return *this; 52 return *this;
53 } 53 }
54 54
55 WebURL WebSpeechGrammar::src() const 55 WebURL WebSpeechGrammar::src() const
56 { 56 {
57 BLINK_ASSERT(m_private.get()); 57 BLINK_ASSERT(m_private.get());
58 return m_private->src(); 58 return m_private->src();
59 } 59 }
60 60
61 float WebSpeechGrammar::weight() const 61 float WebSpeechGrammar::weight() const
62 { 62 {
63 BLINK_ASSERT(m_private.get()); 63 BLINK_ASSERT(m_private.get());
64 return m_private->weight(); 64 return m_private->weight();
65 } 65 }
66 66
67 } // namespace blink 67 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/WebSocketImpl.cpp ('k') | Source/web/WebSpeechRecognitionHandle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698