aboutsummaryrefslogtreecommitdiff
path: root/src/processor/module_factory.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2023-08-11 01:56:02 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-08-11 01:56:02 +0000
commit1317aa642182906c0d8ab5496dd3025632e22022 (patch)
treef98d11d6a158167e19fc9141c79d877280a616a6 /src/processor/module_factory.h
parent8d0176459cfc11e28e9427a7eadcf7a42f654f62 (diff)
parentc9c160dbfd52b61faae9473c1b18c1a0f7869908 (diff)
downloadgoogle-breakpad-1317aa642182906c0d8ab5496dd3025632e22022.tar.gz
Upgrade google-breakpad to v2023.01.27 am: 332a4371ed am: c3c25b3748 am: 4e7c6460d7 am: c9c160dbfd
Original change: https://android-review.googlesource.com/c/platform/external/google-breakpad/+/2704174 Change-Id: I95bc0a6692c028156ded7502fadc728415e92f38 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'src/processor/module_factory.h')
-rw-r--r--src/processor/module_factory.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/processor/module_factory.h b/src/processor/module_factory.h
index 7aa7caa5..3df85a60 100644
--- a/src/processor/module_factory.h
+++ b/src/processor/module_factory.h
@@ -1,5 +1,4 @@
-// Copyright (c) 2010 Google Inc.
-// All rights reserved.
+// Copyright 2010 Google LLC
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
@@ -11,7 +10,7 @@
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
-// * Neither the name of Google Inc. nor the names of its
+// * Neither the name of Google LLC nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
@@ -46,14 +45,14 @@ class ModuleFactory {
public:
virtual ~ModuleFactory() { };
virtual SourceLineResolverBase::Module* CreateModule(
- const string &name) const = 0;
+ const string& name) const = 0;
};
class BasicModuleFactory : public ModuleFactory {
public:
virtual ~BasicModuleFactory() { }
virtual BasicSourceLineResolver::Module* CreateModule(
- const string &name) const {
+ const string& name) const {
return new BasicSourceLineResolver::Module(name);
}
};
@@ -62,7 +61,7 @@ class FastModuleFactory : public ModuleFactory {
public:
virtual ~FastModuleFactory() { }
virtual FastSourceLineResolver::Module* CreateModule(
- const string &name) const {
+ const string& name) const {
return new FastSourceLineResolver::Module(name);
}
};