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

Side by Side Diff: snapshot/test/test_module_snapshot.h

Issue 688643002: Fix a few documentation problems (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 1 month 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 | « compat/non_win/dbghelp.h ('k') | util/stdlib/pointer_container.h » ('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 2014 The Crashpad Authors. All rights reserved. 1 // Copyright 2014 The Crashpad Authors. All rights reserved.
2 // 2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License. 4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at 5 // You may obtain a copy of the License at
6 // 6 //
7 // http://www.apache.org/licenses/LICENSE-2.0 7 // http://www.apache.org/licenses/LICENSE-2.0
8 // 8 //
9 // Unless required by applicable law or agreed to in writing, software 9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS, 10 // distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 10 matching lines...) Expand all
21 #include <map> 21 #include <map>
22 #include <string> 22 #include <string>
23 #include <vector> 23 #include <vector>
24 24
25 #include "base/basictypes.h" 25 #include "base/basictypes.h"
26 #include "snapshot/module_snapshot.h" 26 #include "snapshot/module_snapshot.h"
27 27
28 namespace crashpad { 28 namespace crashpad {
29 namespace test { 29 namespace test {
30 30
31 //! \brief A test ModuleSnapshot that can carries arbitrary data for testing 31 //! \brief A test ModuleSnapshot that can carry arbitrary data for testing
32 //! purposes. 32 //! purposes.
33 class TestModuleSnapshot final : public ModuleSnapshot { 33 class TestModuleSnapshot final : public ModuleSnapshot {
34 public: 34 public:
35 TestModuleSnapshot(); 35 TestModuleSnapshot();
36 ~TestModuleSnapshot(); 36 ~TestModuleSnapshot();
37 37
38 void SetName(const std::string& name) { name_ = name; } 38 void SetName(const std::string& name) { name_ = name; }
39 void SetAddressAndSize(uint64_t address, uint64_t size) { 39 void SetAddressAndSize(uint64_t address, uint64_t size) {
40 address_ = address; 40 address_ = address;
41 size_ = size; 41 size_ = size;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 std::vector<std::string> annotations_vector_; 101 std::vector<std::string> annotations_vector_;
102 std::map<std::string, std::string> annotations_simple_map_; 102 std::map<std::string, std::string> annotations_simple_map_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(TestModuleSnapshot); 104 DISALLOW_COPY_AND_ASSIGN(TestModuleSnapshot);
105 }; 105 };
106 106
107 } // namespace test 107 } // namespace test
108 } // namespace crashpad 108 } // namespace crashpad
109 109
110 #endif // CRASHPAD_SNAPSHOT_TEST_TEST_MODULE_SNAPSHOT_H_ 110 #endif // CRASHPAD_SNAPSHOT_TEST_TEST_MODULE_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « compat/non_win/dbghelp.h ('k') | util/stdlib/pointer_container.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698