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

Side by Side Diff: content/public/test/mock_render_process_host.h

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void RemoveObserver(RenderProcessHostObserver* observer) OVERRIDE; 43 virtual void RemoveObserver(RenderProcessHostObserver* observer) OVERRIDE;
44 virtual bool WaitForBackingStoreMsg(int render_widget_id, 44 virtual bool WaitForBackingStoreMsg(int render_widget_id,
45 const base::TimeDelta& max_delay, 45 const base::TimeDelta& max_delay,
46 IPC::Message* msg) OVERRIDE; 46 IPC::Message* msg) OVERRIDE;
47 virtual void ReceivedBadMessage() OVERRIDE; 47 virtual void ReceivedBadMessage() OVERRIDE;
48 virtual void WidgetRestored() OVERRIDE; 48 virtual void WidgetRestored() OVERRIDE;
49 virtual void WidgetHidden() OVERRIDE; 49 virtual void WidgetHidden() OVERRIDE;
50 virtual int VisibleWidgetCount() const OVERRIDE; 50 virtual int VisibleWidgetCount() const OVERRIDE;
51 virtual bool IsGuest() const OVERRIDE; 51 virtual bool IsGuest() const OVERRIDE;
52 virtual StoragePartition* GetStoragePartition() const OVERRIDE; 52 virtual StoragePartition* GetStoragePartition() const OVERRIDE;
53 virtual void AddWord(const string16& word); 53 virtual void AddWord(const base::string16& word);
54 virtual bool FastShutdownIfPossible() OVERRIDE; 54 virtual bool FastShutdownIfPossible() OVERRIDE;
55 virtual bool FastShutdownStarted() const OVERRIDE; 55 virtual bool FastShutdownStarted() const OVERRIDE;
56 virtual void DumpHandles() OVERRIDE; 56 virtual void DumpHandles() OVERRIDE;
57 virtual base::ProcessHandle GetHandle() const OVERRIDE; 57 virtual base::ProcessHandle GetHandle() const OVERRIDE;
58 virtual TransportDIB* MapTransportDIB(TransportDIB::Id dib_id) OVERRIDE; 58 virtual TransportDIB* MapTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
59 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) OVERRIDE; 59 virtual TransportDIB* GetTransportDIB(TransportDIB::Id dib_id) OVERRIDE;
60 virtual int GetID() const OVERRIDE; 60 virtual int GetID() const OVERRIDE;
61 virtual bool HasConnection() const OVERRIDE; 61 virtual bool HasConnection() const OVERRIDE;
62 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; 62 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE;
63 virtual bool IgnoreInputEvents() const OVERRIDE; 63 virtual bool IgnoreInputEvents() const OVERRIDE;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // for deleting all MockRenderProcessHosts that have not deleted by a test in 129 // for deleting all MockRenderProcessHosts that have not deleted by a test in
130 // the destructor and prevent them from being leaked. 130 // the destructor and prevent them from being leaked.
131 mutable ScopedVector<MockRenderProcessHost> processes_; 131 mutable ScopedVector<MockRenderProcessHost> processes_;
132 132
133 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 133 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
134 }; 134 };
135 135
136 } // namespace content 136 } // namespace content
137 137
138 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 138 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/test/fake_speech_recognition_manager.cc ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698